There are bowls out there with just that idea. I used one for years where I used to live, because my outside kitty wouldn't come inside to eat. This way he got his dinner before the ants did. I just looked at "ant proof pet bowl" on google. Several kinds.
Cynthia