Using existing outdoor outlet to run underground supply to fountain
Weatherproof extension ring is the part you’re looking for.



They are available in various forms, make certain the model you choose has knockouts. 

Sleeve the UF cable in PVC conduit to get it from that point to underground.  Since your box is horizontal mount you’ll need an LL or LR or 90 to get from the knockout down into the ground.