Any MacBook made from 2009 onwards will do, a good condition second hand MacBook is great for this. You should get a 2010 model for around 300-400 bucks, that should already have some sort of i5 and 4GB RAM.
Why do I recommend this:
Most even old Macbooks have awesome battery lifetime if your power goes down.
The external Powerbrick of MacBooks have some safety circuits that will live if there is a surge or only the powerbrick will be dead and not the whole computer. (I still recommend getting a cheap secured power adapter, those cost around 10 bucks to put in the power outlet.)
With MacOS in 99.9% of all controllers you will not need any additional drivers, so you plug in the controller, start Serato and it will work plug and play.
Some shops even offer refurbished models (even Apple Stores) or previous generation models for a huge discount.
For example I got a MacBook Air 13” refurbished for 800 USD and I hardly get the CPU over 40% with all Serato effects running…