Okay so in my opinion the most 'optimal' mount build is a small character Beast Master/Cavalier who just splats 3lvls in fighter and by 4th lvl ranger takes Mounted Combatant as a feat.