Yes, I know the law. The left side of the picture is always enforced, but not the right side. To get the 5 years for 2 weeks overstay there must be more to the story. It would be like getting jail time for ecigs.
You do not need a visa to border run. In your OP you mention not entering the 2nd country and staying in no-man land, which doesn't mean that the only alternative is to get a visa beforehand. I'm Canadian and I do not need a visa to enter Laos, Cambodia, and Malaysia. I can get a visa-exempt or visa on arrival or wtv the name is directly at the border upon entering. The process is very quick. Then you turn around and go back into Thailand. In Laos, you can go in and come back to Thailand within an hour. If one hour is too much I don't know what to tell you. The whole process is no longer than entering Myanmar with that 500 baht piece of paper.
You seem to think that avoiding a stamp = fewer restrictions, which I don't think are related. If you are unvaccinated and looking for a quick border run, I don't think it will be possible anywhere for a while.
I got married in Phu Pha Man 3 months ago, in and out in 1 hour. All you need is two witnesses, your wife ID card, and the affidavit. I don't know what "original devolve papers" is. Your affidavit need to be translated in Thai and certified. You cannot get married anywhere in Thailand with English paperwork. I don't know what you are referring to.