Set the dish with moat in a different area for two days or more. The ants will eventually stop returning to the normal feeding place.
Some standalone moats are also available into which you can place your existing food dish, thereby protecting the food from ants.
You can keep ants away from pet food by only keeping pet food out during designated meal times.