If your CPU thermal paste hasn't been changed in a while it will put your fps around 20 to stop it from shutting itself and your CPU will be like 70-89 degrees
I'm having lags too sometimes but i don't know why, my connection is fine right now and my pc temperature doesn't even reach 40°C (39.8°C max) probably to much people