Usually you have to drink it for many years, but the alkalines, inclusive of all forms od speed, have an irritating effect and change PH making stones
Also your genetics and
cholesterol levels determine if and
when you will get stones
and how resislient your kidneys are, so at any age there is risk to certain people, and certainly to those on Riba therapy.
I would tell your doctor about the pain, especially if drinking water does not clear and keep it at bay.