Rationalization of allosteric pathway in Thermus sp. GH5 methylglyoxal synthase