although i am a bit skeptic about diagnosis of ankylosing spondylitis
in indian patients,reading your history i indeed feel you have AnkSpon.I hope you have had done B27.
Now coming to your problem i would like to ask which medication you were taking for increased uric acid
levels. Was it allopurinol?or was it febuxostat
.The symptoms you suggest are less likely to be any disease and more likely to be adverse drug effect.
Both salazar as well as allopurinol (if you are taking it) can cause all your symptoms but in your case i think Salazar is the culprit .Stop it.
And regarding your pain treatment is simple and cheap - just NSAIDS and PPI.i can prescribe if you wish so.