I wouldn't be stressed out about this at all (assuming one ticket of course). Yes, it's not much leeway but it is within MCT. On the off chance you don't make it and BKK leaves without you you'll be rebooked onto the TG or LH flight the next day. Given that from EDI you don't have much other choice, I'd gamble this.