It's not available locally, and not actually available under $40k.
If I were buying today, I'd get a Prius Prime. It is available locally starting at $34,100, has enough range for me to be in EV for anything but a road-trip, and has a good network for parts and service.
Check the Tesla inventory page. Plenty of lightly used 3’s and Y’s available at steep discounts.
The new Prius is by all accounts a great car. However I would put good money on it being way harder to get a Prius than a Tesla at this moment. Toyota hybrids, PHEV especially, are near unobtanium.