Mikrotik RB960PGS-PB (PowerBox Pro) and add a 48 volt power supply.
https://www.roc-noc.com/mikrotik/routerboard/RB960PGS-PB.html
Use it as a router or just a PoE switch. PoE in on port 1. PoE out on ports 2-5.
https://www.roc-noc.com/pdf/RB750/PowerBox_Pro.pdf