Mosquitoes won't hurt your plants so don't worry about that, but take grey's advice to eliminate standing water and mud from your grow area.
Fungus gnats will crawl into the holes in the bottom of your pot too, so sand won't eliminate them. You have to get rid of stagnant water no matter what.