If you're really lucky, you might get everything in time (I doubt it). However, you're lucky in that you can enter on a visa exemption—which gives you 30 days, with the possibility to extend it for 30 days at 1,900THB. So you don't have to lose your flight.
(You can still use you SETV, which is valid for 3 months. But leaving and re-entering Thailand is difficult at the moment. Especially with Omicron in the next months.)