We present an optimized Medium-Transparent MAC (oMT-MAC) protocol for Analog-RoF Fiber-Wireless 5G and beyond X-haul networks, capable of generating an optimum transmission schedule, which boosts the protocol's efficiency by utilizing the full delay budget of higher priority flows. Results show that oMT-MAC's optimization model can reduce delays by up to 20% for low-priority flows while maintaining the 5G Fronthaul and URLLC KPIs.