To keep the ants from coming back, you could try using some natural stuff like peppermint or vinegar. They hate the strong smell, so spraying some around the car might help. Also, make sure to keep your car clean and free of any food or leftovers. You should check this out https://toxicrespond.co.uk/house-mice. I used this thing to get rid of the mice in my garage, btw.