Your mask fogs due to condensation on small particles and grime. When mine fogs underwater, I find that I can remove mask and just rub with my thumbs vigorously and it will suffice to finish the dive. A little mud or clay is even better but I wouldn't use coarse sand.