The MX is not well-suited for motocross in summer temperatures. My approach was to sell it and buy an MXR. @Mark911's approach was to build a new bike.
If I had to keep the MX, I would probably install a water mist sprayer onto the bike and keep it spraying onto the battery while riding/racing...