Thanks for posting your query
Pain in leg and lower back seems to be related to muscle spasm. Cramping of legs also occurs due to electrolyte imbalance
. I suggest you to get it evaluated. Avoid continous standing. Apply muscle relaxant
gel to affected area. Do hot fomatation and rest well.
Hope this will helps you
Dr Saurabh Gupta