Omitting numerous practicalities of space-flight and change of speed of the missile,
modelling the situation in a basic linear way...
Taking max flight time as the time within which the missile needs to strike....
If the faster ship is following directly behind the other in a straight line,
then when the missile is fired, it's gaining on the ship in front at
3,750-170 meters per second
which is 3,580 m/s...which is the speed of the missile "relative to" the target.
(You can imagine the target "frozen" in space if you want).
There is a 45km distance to traverse (if you imagine the ship stopped and the missile travelling at "relative" speed)
It'll take more than 10 seconds.
Is the missile still dangerous after 10 seconds?