The TUC numbers mentioned by @ThisOneGuy is probably the most relevant. There’s a big difference between a sudden decompression as described by @snowthx versus a gradual multi-minute transition from sea level to high altitude.
The TUC at 25,000 feet as commonly used in military altitude chambers and at 30,000 feet = Everest is significantly different. I can recall as an in-shape 22yo being semi-sensible for a good 4 minutes at 25,000. I outlasted a few other folks and was outlasted in turn by a couple. But after that I was pretty listless / stupid. And that’s sitting in a chair, having been breathing pure oxygen until we took off our masks.
In the airline biz we’re told to expect any flight attendants or passengers standing up when we blow a cabin to be found unconscious on the floor every time. Standing or walking is far more oxygen consumptive than is sitting.
As to supplemental oxygen …
25,000 is as high as you can go and still attain normal blood perfusion passively breathing pure oxygen. Said another way, the partial pressure of oxygen in the atmosphere at sea level is the same as the “partial” pressure of pure oxygen breathed at the ambient pressure found at 25,000 feet. At 30,000 ft breathing pure oxygen at ambient pressure will quickly give you low spO2 and you’ll be weak and a bit stupid, but can probably wander around on a nice day without hurting yourself for at least a few minutes.
The oxygen systems in high altitude aircraft include a tight fitting mask and the provision, above 25,000 feet, to ram the oxygen into your lungs at above ambient pressure. So called “pressure breathing”. In effect it’s a mini pressurized compartment consisting of just your lungs, pharynx, nose, mouth, and the mask interior. It’s hard work to breath against the pressure, and the higher you go the higher the pressure has to be to keep you adequately perfused. At about 50K feet it’s impossible to force oxygen into you at a high enough pressure to keep perfusion up to a safe level without tearing up your lungs. Above there you need a space suit to survive.
In normal breathing your diaphragm does work to inhale and relaxes to exhale, letting the stretched chest and ribs spring back to their normal relaxed size. Under pressure breathing it’s the opposite; you relax and the system fills your lungs then you need to push like mad to exhale against its constant shoving. It gets old real quick and talking is a right bitch.
I’m not aware of any portable pressure breathing systems, but I’m not a mountaineer.