It could be a referred pain
from your jaw joint, if it is locking too often and your ophthalmological examinations are normal. Have they ever taken an X-ray of your jaw.
And sinusitis:If you have a sinus problem it could be only exagerrating your pain but from your history it seems like the jaw is the culprit.
Hope you get well soon......