Did someone connect the MT5 lever with the MT7 caliper?
According to Magura the MT5 and MT7 levers and calipers are different. The MT7 levers have more leverage and so their throw is slightly longer, to make up for this the pads sit slightly closer to the disk on the caliper. MT5 has less leverage so the pads have a bit more clearance. According to this the MT7 Caliper with the MT5 lever should produce a pretty short throw on the lever.
https://magura.com/en/EUR/are-the-mt5-and-mt7-brake-calipers-really-different-how-are-they-different