Do to the style of the stock/brace found on the MP5 platform, it would be a more ideal head position to keep your optic as low as possible to the receiver. I'd recommend the Trijicon Low Picatinny Rail Mount for RMR found using the link below. If you do not have a picatinny rail equipped to your MP5 already, then I would recommend the Midwest Industries MP5 Optic Picatinny Top Rail, also found in the link below.
https://www.opticsplanet.com/trijicon-low-picatinny-rail-mount-for-rmr-sights.html
https://www.opticsplanet.com/midwest-industries-mp5-optic-picatinny-top-rail.html
I would recommend using a low height mount when mounting an optic on a shotgun. This will allow for a better, more comfortable head position.
This mount will make the mount lower 1/3 cowitness, meaning the iron sights can be used through the red dot (under the dot or reticle). However, the dot itself will not line up with the iron sights. You would want absolute cowitness if you are wanting the dot to be on the same plane as the iron sights.