When the house itself becomes so hot that the corns are showing it, I do as suggested above, I normally fill their water bowls with fresh cool water.
Good advice.
Also ceramic crockery bowls tend to be the relatively "coolest" material type for Corns to hunker up against.
The inherent cooling qualities of a stone marble water dish would probably be an ideal passive cooling material, but good luck finding one.
I have have lived in various houses here in the desert, over the years, where the only cooling is an evaporative cooler and cooling a house to the low-mid 90's is a reality for many in the extremes of summer.
They are also called "Swamp Coolers" as it's like living in a swamp when the humidity gets over 40 percent (lose efficiency i.e. barely work) during "monsoon" Season which hits in July through late October, when it finally thinks about coolin' off.
Ah, the good old days...they were called "these troubled times" when living them...but I digress, I'm good at that. ;~)
The new generation Energy efficient window air conditioners can be used to create "escape pods" in certain rooms, such as a snake room, if ones budget will cover the expense of such a thing.
These things (window A.C.'s in general) used to "suck the juice",
but in recent years have become very affordable in regards to initial cost and operating costs.
Add a generator to ones "arsenal" and you be loaded for bear thear.
I tried the air conditioner, but it lower the temps too much.
Sounds like your houses air conditioner thermostat may need replacing.
They can wear out/ malfunction over time.
Window unit wont accurately regulate? Same thing.
Regarding fans.
As to be perfectly clear here, to any new keepers reading this, do not put a fan inside of an enclosure with a corn snake.

... some times the obvious needs be stated to avoid any Misinterpretations.
The ambient drop in temperature with a fan is probably 5 or 6 degrees, immediately in front of it, depending on humidity levels, so cooling down the air too much with a fan in a 96 degree F. environment will not be a problem.
If one has a tank heater set up and running,
Common sense would dictate that one turn it off, during episodes of seasonal high ambient heat...
if it is not hooked up to a quality thermostat already, in which case it will turn itself off.
