You cannot fly Cape Town (CPT) → Dubai (DXB) → London Heathrow (LHR) as a single routing because no airline operates a direct CPT–DXB leg. The geography and traffic rights don't support it.
Actual fastest routings:
Bottom line: The most efficient route is via Johannesburg. Adding Dubai adds significant backtracking and time. Always check current schedules—routes change seasonally.