Most international layovers in Asia require additional security/ customs/ immigration checks. There should be someone there looking at tickets in line, if you are running late they will make sure you get through the line quickly. I'd buy the ticket.