From Wikipedia:
Six pilots have ejected at speeds exceeding 700 knots (1,300 km/h; 810 mph). The highest altitude at which a Martin-Baker seat was deployed was 57,000 ft (from a
Canberra bomber in 1958). Following an accident on 30 July 1966 in the attempted launch of a
D-21 drone, two
Lockheed M-21[5] crew members ejected at
Mach 3.25 at an altitude of 80,000 ft (24,000 m) The pilot was recovered successfully, however the observer drowned after a water landing. Despite these records, most ejections occur at fairly low speeds and altitudes, when the pilot can see that there is no hope of regaining aircraft control before impact with the ground.