Mido scored the opener after 34 minutes, latching on to Reto Ziegler's cross and firing home from six yards.
Defoe scored either side of the break, the England striker dinking the ball over Dons keeper Adolfo Baines before tapping in his second from close range.
Mido made it four after Baines could only parry Defoe's shot and Robbie Keane made it a rout in injury time.