I get leg cramps too. Used to be only calf cramps, and only one at a time (Thank God!). Usually happens in the middle of the night when I guess I probably stretch out my leg in my sleep, which triggers it. Of course I wake up instantly, and hopefully am able to jump out of bed, stand up, and put my weight on the cramping leg. If I am fast enough that stops the cramp immediately. But if I'm not fast enough it's 12/10 pain for at least 60 seconds, where when I was married I had to clench my teeth to keep from screaming out loud and waking up the whole house. Also if I can't stop it immediately I will have a sore calf muscle that will hurt for at least the first 10 minutes of walking, especially if going up or down stairs.
The other cramps you describe started about 6 months ago, and I have found no way to instantly relieve them. Also foot arch cramps, that can actually be brought on by a foot massage. The foot cramp I can fix by getting off the massage table and standing on that foot. The lower leg cramp that I have sometimes experienced during a massage is more of a dull ache, and it helps if I get up and walk around, but it will last at least a couple of minutes. Same with the upper thigh cramp, which is more rare, and which I just have to ride out. Sometimes if I myself massage my upper thigh it helps ease the cramp, but it does last several minutes at least.
Interestingly, the frequency of all types of these cramps has decreased significantly since I stopped hobbying in the current circumstances.
Nonetheless I think I'll try Miss Croft's magnesium suggestion...