There are other techniques to minimize detection (like terrain masking, and Self Protection jamming pod) while closing in on a careless enemy. When the JF-17 got within the SD-10's No escape envelope range, it just had to launch and watch the Mig hopelessly struggle to avoid getting hit. Also the Indian mig probably didn't have good EW equipment; i.e. no self defense jamming pod.
The PAF probably used the SD-10 almost like a WVR missile; i.e. last 20-30 km so as to use the high energy of the missile at the beginning of its rocket motor burn and ability to pull higher G's. Getting a good radar lock on the enemy and passing that on to the Sd-10's seeker until the last minute will minimize the enemy RWR detecting a missile launch on it, but only an enemy radar detecting it. This is why the AESA radar is needed; it lowers the ability of the enemy RWR detecting it has been locked on to.
PAF needs to push for getting the
PL-12D ramjet BVR missile or PL-15 BVR missile on the JF-17 Block III. This will allow the PAF to start fielding a meteor class BVR missile at the same time the enemy does, and prevent the enemy gaining an advantage.
A good channel to see simulations of aerial warfare (on DCS) on youtube is "Growling Sidewinder"
The following video shows
the range and tactics employed to get a BVR missile into a proper position to maximize a kill not guarantee of getting a kill. Even at close range the enemy pilot can use techniques like notching to trick a missile. Therefore Pilot skill and modern EW electronics will be huge in all future aerial battles along side better and better BVR missiles.
The following video shows Migs versus Eagles in a BVR fight