hi i had gone through your query and understand your concerns. i would come up with,the most possibilities to fit your condition .these include
1.first possibility is,RENAL COLIC;due to stones in the kidney
.confirm with ultrasound
scanning for KUB.
2.second possibility is,HYPOTHYROIDISM; increased TSH
levels in the blood may confirm the diagnosis.
I hope this is helpful for you, thank you