You'll be there out of season, so last minute flights won't be a problem. What if your long haul flight is late? You might miss your connection anyway.
Personally I'd have a couple of nights in BKK (and a trip to Lolitas

) and then get a cheapie flight.