Replace the battery with the originally fitted Panasonic from the main dealer or MX5 parts. Lots of threads on this and Panasonic are the best for your car. Main dealers can usually source these overnight to collect. They also fit perfectly and connect to the breather pipe.
We bought our last Panasonic battery from the local Mazda main dealer. A bit more expensive but we saved on delivery by collecting it ourselves.
It might also be worth checking if you have a battery tray - https://www.mx5parts.co.uk/battery-tray-motorsport-mk2-25-p-3982.html. We didn’t in our car as a previous owner had fitted the wrong (larger) battery which didn’t fit if you retained the battery tray and so presumably threw it away (along with the tubing for the battery vents). The battery tray helps locate the battery and stops it sliding around.
If you don’t use the car very much you may also want to consider a conditioning battery charger such as the CTEK MXS 5.0 (other conditioning chargers are available) provided the car is parked somewhere near to a power source. Our MX5 is parked outside but by using a couple of CTEK extension leads I can plug in the charger in the garage and run the cable to the car.