If fitness is the goal, you'd most likely spend less time riding the MTB vs a road bike since you'd be working more on the MTB to burn a certain amount of calories which would result in less time to spend riding.
__________________
Demented internet tail wagging imbicile.