I have found the easiest way is to get the key, let
the guard spot you, tripping the alarm, then run to
the right where there are benches to hide behind.
The guards will come towards you and shoot, but you
will be safe. Eventually, their ammo will run out.
This method takes ages, and you will have to keep
tempting out guards and letting them shot all their
ammo, but it works.