Mae Sai is $
******
B to Myanmar immigration no need to stay overnight can return literally 5 minutes later.
From Hua Hin nearer Myanmar borders would be Kanchanaburi (problem for SA but not you) or Ranong. These are a bit more expensive as you need a service to take you over but nothing crazy.