Your foreign visa card works in 7-11 thailand. No lower limit. If it's decor card you might need to say "credit". Bangkok bank visa debit does NOT work...
See if you can change the flights so you have longer time, if less than 24h it still counts as "transfer" and not stopover. I've done this before. The airline did the change for free. If you're lucky
There is 60 days stay visa that are multiple entry for 6 months. I think the original idea of "visa run"was to leave within 60 days and come back. Getting a new visa or enter again on except isn't the same
Now, i always like to consider that doing a Visa run, or extrention is as costly as just going to another country and stay there a month.
Not sure why people insists on staying put in one country all the time.... (If you're not working illegally, or trying to "live" there)