I have always chosen to get reentry permits at the immigration office near the airport ahead of my journey. They don’t expire until your permission to stay expires so….you can get it ahead of time. I never trusted getting it at the airport in Bangkok because extenuating circumstances might result in me having not enough time there.
Getting it at immigration before leaving town provides me with peace of mind and happiness when starting my actual journey….
Please examine your visa. Note the “enter by” date. If that date has passed….or if your anticipated reentry date is beyond the enter by date on the visa…you will need a reentry permit. Based on your post it appears that your visa will show an enter by date of March 2023 so you should be good without a reentry permit