When I was a kid and lived in a cold climate where fogged glasses was a regular problem, I had some stuff I could spray on my glasses that would keep them from fogging up. I'd have to use it after washing them but it worked well. Something like this: https://www.safetyglassesusa.com/anti-fog-spray.html

//