https://www.amazon.com/Electronic-Cabinet-Hidden-Wooden-Cupboard/dp/B07X8N9TN2/
if you want to use your phone,
https://www.amazon.com/MHCOZY-Wireless-Switch-applied-control/dp/B077Z5B461/
https://www.amazon.com/Atoplee-1pcs-Intelligent-Electric-Cabinet/dp/B01IBEVV0Y/
and a 12v power supply would get you there.
a mag lock isn't preferred for a rarely used door that needs to remain secured if power fails.