If that's the case the PLAN must either have or are expecting a big leap in sonar and/or co-operative engagement capability, 50km is like twice the range of other missiles of its type. Alternatively the weapon is designed to take out the sub after it's launched torps removing the detection issue and where the to target speed and range of the missile comes into play.
A source sends the coordinates (using a predictive algorithm table) to the ship, the ship launches the missile. The missile releases the torp at said coordinates, the torp pings and chases the target.
You don't need the same ship being the source of the target detection. ASROC type weapons have an unguided (inertial only) rocket delivery phase. They are simply designed to send a payload on a particular set of coordinates. The payload itself (the torp) does the guided job. Cooperative engagement capability for ASROC type weapons has been a mainstay since the 60's (and tied closely to the LAMPS program).
The missile having more range simply means it can lob a torpedo further away. Which is a good thing. See the UUM-125B for the concept at hand.