Thank you for your report.
Thankfully you were allowed to enter Thailand this time.
The Thai Immigration Officer saw your recent history of living in Thailand during COVID-19 using visa exempt entry with extensions...and wondered "Why you stay in Thailand so long?"
@Tod ********
has posted on this subject of those who have stayed in Thailand during COVID-19 ... Suggest you read it.
Lucky for you, you are now in Thailand and can get a 30 day extension of stay at local Thai immigration office for 1900 Thai baht.
AND as Most Land BORDERS are OPEN...(NOT MYANMAR)...You can do TWO LAND BORDER BOUNCE entries into Thailand each calendar year.
The 45 days stamp ENDS March 31, 2023. Time your border bounce and choose the border crossing carefully.
And DO NOT FLY INTO THAILAND...As you're likely to be denied entry. Use Land BORDER entry ONLY.