Interesting you say it hurts mostly when laying down.
I'm having lower back pain, and some hip pain - but only when laying down. Yes I think its stuff working its way out, but also maybe the pressure of the mattress against the legs and back perhaps?
Best wishes on your fasting this summer! Read everything you can about fasting to get pumped up about it!