It's actually the HP TET that's the biggest problem. That's why the only way to get significantly above Mach 3 continuously is to use intake cooling systems. The reason the F-22 can't reach the speeds of the MiG-31 is probably to do with wave drag, intake design (optimised for stealth) and skin material.