Just move the plug like all suggested. I suspect your outlet is probably below the window as well. I would highly suggest a GFI outlet for anything involved with water.
since your outlet is most likely below the window, I would highly suggest running your wiring like this:
If you spill/ or have your auto watering fail- hopefully the water will follow the wiring down and not flow into the outlet.
If you correct the safety issues people will shut up and start helping you more. It’s just hard for us to move past.