In my experience the overhad lockers are generally much cooler than the cabin - certainly less than 20°C. Put it in there.
I have an insulin dependent friend who is quite frail but flies regularly with no problems. He is very careful what he eats, does not rely on airline meals.