Trigeminal neuralgia, maybe? (Often found with MS, but can affect otherwise healthy people for no known reason).
It’s known to be an exceptionally severe pain that is sometimes dubbed: “the suicide pain”, because some sufferers have killed themselves or expressed thoughts of killing themselves over it.
Some people mistake it for a problem with their ear or their teeth - even to the point of having a lot of futile dental work done.
I don’t think the pain necessarily has to be continuous or long-term. Have a Google and see if it fits.
I think I’ve had it just once, but it was before diagnosis, and I had no reason to suspect I was ill. I went to bed one night feeling normal, but woke up in the night with the most throbbing, pulsating toothache - BOTH sides. I gather this is unusual for TN, but surely even more unusual for toothache, as why would you go to bed fine, but in a matter of hours, develop excruciating pain, both sides, in teeth that were not previously playing up at all?
Anyway, I staggered to the bathroom, emptied the cabinet of any and all painkillers that could be safely taken at once, and returned to bed, thinking dimly: “Looks like I won’t be going to work tomorrow!”
Incredibly, despite the pain, it seems I then managed to drift off. Waking up at the usual time, there was no trace whatsoever of the previous night’s severe pain, and I even wondered if it had been a very realistic type of nightmare, as it seemed odd for such a severe pain to turn on and off like a light, with no warning and no after-effects.
I wasn’t diagnosed with MS for some time, and it was only then I began to wonder if I’d had a single episode of TN.
Other than this forum, I’ve never bothered to mention it to anyone either. It didn’t seem worth it for something that only ever happened the once, lasted a matter of hours, and was way before diagnosis.