Just a little note, in US (probably same in Europe) the MSA is based on 25 nm from a NAVAID for reference. This navaid is not always located on the aerodrome, sometimes 15-20 nm away which makes the MSA less than helpful in some cases.
The departures I used to fly was "after departure fly heading XXX vectors XXX" initial climb clearance below MSA and grid MORA due to airspace restrictions. I was quite aware of the terrain but had to trust ATC and their minimum vector altitude to get out of the airspace/terrain safely. This was in a light twin with benign single engine performance. I knew the escape manoeuver was to head west. How different the world can be….