Hi welcome to HCM'
I think your doctor is right , just take few muscle relaxant
and bed rest
fo for 2-3 days.
If then pain also remains then you have to do MRI. Shooting pain is mostly do due nerve
compressio, which may be due many cause, so MRI will be necessary.
Dont ingore the pain . Thanking you.