I did a DXB-DOH-MAN recently with a 55 minute connection. The first flight arrived around 10 minutes early into a C contact gate. No queue at transit security. I got to the departing A gate when boarding had already commenced.
No way would I risk it on separate tickets.