Suggest Remedies For Occipital Neuralgia
Occipital neuralgia more likely.
I read your question carefully and I understand your concern.
Such short lasting pain of that character is not indicative of a brain lesion or any other threatening issue. So do not be alarmed and no need to be afraid from flying.
Judging by the location I would say that the most probable cause is occipital neuralgia, due to compression of the occipital nerve on that side as it exits the upper neck. Most common cause are arthritic changes.
In terms of management over the counter pain killers like Ibuprofen or Naproxen would be the first step. If persistent, medication for neuropathic pain like Gabapentin or Pregabalin are the next step. Physical therapy is also recommended to strengthen neck muscles in order for them to better support the spine and prevent further recurrences.
I remain at your disposal for other questions.