You should see a neurologist specialized in diagnosing and treating headaches.
Since you are hypertensive patient, it could be that you have sleep apnea at the same time, sleep disorder that is associated with interrupted sleep and headache.
This headache can be a cluster headache, or a hypnic headache, provoked by different underlying conditions.
You can get some information about exploding head syndrome (explosive sounds that awakes the sleeper, but without present headache).
Best wishes!