It's something to consider as well that RAM is one of the inner most defensive armaments of the RCD, so it should not be expected to take the brunt of strikes.
SM-2 IIIC has a listed range of 170km
ESSM Block II has a listed range of 50km+
The 5"/62 Mark 45 Mod 4 has a listed range of 40km~ with unguided ammunition, can be longer with specalist ammunition
RAM Block IIB has a listed range of 15km
30mm Mark 38 Mod 4 Autocannon has a listed range of 4km
As Underway says, you'd have to either let targets creep into your inner defensive layers or exhaust your outer layers to require RAM to be doing heavy lifting on its own.