I have a similar ticket booked August 1st, MLE-DOH and then DOH-HKG on separate tickets. Connection time is adequate, but just hopeful I don't have to enter Qatar officially and recheck. I will still fill out all the Ehteraz forms, but hopefully that ends up being unnecessary in actual practice.