This is quite easily doable as long as the MH31 arrives on time.
The additional safety net you have is that there is a 9 hour ground stop in IST (MH30 arrives at 6am, MH31 departs at 3pm), so it's unlikely that a moderately late inbound flight into IST will delay the outbound.
As long as there are no major snafus - you should arrive on time, possibly early. Around this time of the year, it's also a very quick run: earlier this month I had a flight time of only 8:55