I AM NOT A DOCTOR but I can tell you what has worked for me with a similar issue.
Starting in May 2012 I started to have a stabbing/burning pain in my inner thighs/hamstrings while deadlifting. (Training split Mon-Squat, Tues-Bench, Thursday-Deadlift and Sat-OHP). It got worse and worse throughout the summer and eventually spread to both legs and would also come on even when I wasn't doing anything.
I noticed that if I squatted hard on Monday I would start to get muscle twitching in my thigh/hamstrings on Tuesday afternoon and it would turn into full blown muscle spasms starting about Wednesday morning and going sometimes even as late as Saturday. The worst pain was when I would put DOWN the deadlift.
Eventually my doctors figured out that it was probably lumbar herniation (confirmed with MRI). The squats would start to create swelling around the nerves starting on Tuesday and choke them off over the next few days while my normal workout inflammation went away. They didn't figure this crap out until Dec 2012. Had some spinal injections done but I don't really think they helped that much here is how I changed up my training program. Once again I'M NOT A DOCTOR this is just what has worked for me.
Switched my 5/3/1 squats to the box squat and kept my BBB sets as the free squat.
Also on Tuesday and Wednesday afternoon I would do slow deliberate Prowler pushes with a kind of heavy weight. The trick is to push them kind of like you're doing a mountain climber with a full range of motion and really pressing into each step. Even if I was having muscle spasms on Wednesday I noticed I could force myself through the Prowler because of the lack of an eccentric movement (especially when pushing slowly). Somehow either this forced a lot of blood into my lower back and hips or aligned my hips or something but 99% of the time it worked and I would feel great for deadlifts on Thursday.
In July 2013 I switched back to completely free squatting and doing the Prowler prehab/rehab has kept me deadlifting even though I can still kind of feel that there is an issue back there. It just prevents me from getting the extremely painful muscle spasms.
Rarely I've went to deadlift on Thursday and I'll know as soon as I put some 10lb bumpers on the bar and force myself through a few reps whether or not I'll be able to DL or if I need to do one more day of Prowler rehab/prehab. Doing it Tues-Weds almost always works, Tues-Thurs definitely work. I just prefer to DL on Thur so it give me a little more recovery before OHP on Saturday.
Training split now looks like:
Monday morning 5/3/1 squats and assistance
Monday Afternoon Prowler conditioning (sprints)
Tuesday morning 5/3/1 bench and assistance
Tues afternoon Prowler rehab/prehab
Wednesday morning Prowler rehab/prehab
Thursday morning 5/3/1 deadlift preferable more Prowler rehab/prehab if I must
Friday morning Prowler conditiong preferable or DL if couldn't do it Thurs
Sat morning 5/3/1 OHP