Welcome to HCM.
As you have done shown it to the doctor and investigations are also fine, ithink it might be due to simple spasm. I advice you to use over the counter analgesic
cream or spray.
Carpus tunnel syndrome is unlikely as it will also present with other symptoms like Numbness
in the thumb and next two or three fingers of one or both hands, Numbness or tingling of the palm of the hand etc.
It will be better if you see orthopedic surgeon for examination.
Hope I have provided the information you needed.
Wish you good health. Take care.