Decomp
in that price range you will not find anything that is not close to a decade old and obviously 40,000 miles is not going to be likely and eve if you could find that, you will pay extra for the low mileage.
That said, Toyota Corrola, Honda Civic are dependable.
Another Vehicle you should consider and not be afraid of is a 2010 Hyundai Sonata GLS
A private seller in Virginia Beach for example could expect to get around $%%00 - $6000 for one in good to very good condition with mileage in 50000 - 60,000 range.
They are sound, safe, good vehicles. I own one. I also own a 2004 OPTIMA which is a daily driver for my wife and it has been a good car. A newer one would be better and you can affor that as well.
The Elantra is a nice Compact that is fairly roomy inside and nice to drive as well. So in your search, include the Sonata, Elantra and Optima. The Sonata and Optima are mid-sized and come with a lot of standard things as does the Elantra. They will not cost as much as the Corrola, Camry, Accord, or Civic.
My Mitsubishi Galant ES was extrememly reliable, and rode great. Not a lot of frill but surprisingly comfortable and a sound mechanical vehicle. It was a 2005 model. I kept it ten years and 133,000 miles on it and finally had to change the struts in the front. I sold it in 20 minutes for $3300. The car is still being driven by the person I sold it to two years later.
Just saying that do not overlook the KIA, Hyundai, or Mitsubishi Galant, which you might get a much better price on and possibly a newer model for what you are looking for. I can attest to these vehicles because I have owned them and driven them.
Happy hunting....