I think u must also mention more about your sitting ( during work, study, watching tv/content etc) and sleeping postures as they are more detrimental for back ache rather than masterbation. Do an x ray spine lateral view and consult an orthopedician for further opinion.
Next Steps
u need to improve your sitting and sleeping postures, do positional exersise/yoga to get temporary improvements