Muggy, humid, weather is especially hard on the body's ability to regulate temperature even if you are hydrated. You got beat up. Part of prepping for what you want to do is to listen to your body and determine your best pace for conditions. That pace will pick up over time as you get conditioned to the exertion.