Honestly.
If you currently don't have that Z490 board that you mentioned just buy a B660/Z690 motherboard with a 12400F/12600K
it doesn't make sense to buy a upgrade for a dead platform
You are going to need a Ubiquiti CloudKey gen 2 Plus with Unifi Protect or a Ubiquiti Dream Machine Pro with these cameras
since Ubiquiti Video Controller doesn't work anymore and isn't maintained