Your symptoms are consistent with temperomandibular arthralgia(TMJ
),that is the jaw joint. As you are experiencing it can be severe occasionally. Hoping everything is normal with ear examination, you can start muscle relaxants in short courses(3-5days). They may be slightly sedative so you would like to avoid driving and take them at night after work. Avoid extreme mouth opening and side to side movements of the jaw. Eat soft food for some time.