This sounds like myofascial pain syndrome, which would be affected by depression and anxiety. There is a subtype of depression called Atypical Depression and Dysthymia.
Trigger point injections should be able to help. Primary Care should be able to do that, but there are pain specialists that could help with the pain. As for the depression and anxiety, I highly recommend seeing a psychiatrist. You are definitely not alone. I have similar symptoms.
I had severe magnesium deficiency and no doctor figured it out. smh. Only 1% of magnesium is in the blood so many are suffering without having a clue what is going on.
I had various symptoms for decades due to insulin resistance but developed a severe magnesium deficiency due to a combination of insulin resistance (showed up over time due to high sugar intake), surgery (stress lowers magnesium) and high doses of vitamin D (I couldn't raise my vitamin D levels due to magnesium deficiency - magnesium is needed for vitamin D absorption - and taking vitamin D when you are deficient in magnesium can worsen an existing magnesium deficiency).
A good article is from Dr Hyman's article Magnesium: The Most Powerful Relaxation Mineral Available...
"Think of magnesium as the relaxation mineral. Anything that is tight, irritable, crampy, and stiff — whether it is a body part or an even a mood — is a sign of magnesium deficiency."
"You might be magnesium deficient if you have any of the following symptoms:
• Muscle cramps or twitches
• Insomnia
• Irritability
• Sensitivity to loud noises
• Anxiety
• Autism
• ADD
• Palpitations
• Angina
• Constipation
• Anal spasms
• Headaches
• Migraines
• Fibromyalgia
• Chronic fatigue
• Asthma
• Kidney stones
• Diabetes
• Obesity
• Osteoporosis
• High blood pressure
• PMS
• Menstrual cramps
• Irritable bladder
• Irritable bowel syndrome
• Reflux
• Trouble swallowing"
"Stop Draining Your Body of Magnesium
• Limit coffee, colas, salt, sugar, and alcohol
• Learn how to practice active relaxation
• Check with your doctor if your medication is causing magnesium loss (many high blood pressure drugs or diuretics cause loss of magnesium)
Eat Foods High in Magnesium
Include the following in your diet as often as you can:
• Kelp, wheat bran, wheat germ, almonds, cashews, buckwheat, brazil nuts, dulse, filberts, millet, pecans, walnuts, rye, tofu, soy beans, brown rice, figs, dates, collard greens, shrimp, avocado, parsley, beans, barley, dandelion greens, and garlic
Take Magnesium Supplements
• The RDA (the minimum amount needed) for magnesium is about 300 mg a day. Most of us get far less than 200 mg.
• Some may need much more depending on their condition.
• Most people benefit from 400 to 1,000 mg a day.
• The most absorbable forms are magnesium citrate, glycinate, taurate, or aspartate, although magnesium bound to Kreb cycle chelates (malate, succinate, fumarate) are also good.
• Avoid magnesium carbonate, sulfate, gluconate, and oxide. They are poorly absorbed (and the cheapest and most common forms found in supplements).
• Side effects from too much magnesium include diarrhea, which can be avoided if you switch to magnesium glycinate.
• Most minerals are best taken as a team with other minerals in a multi-mineral formula.
• Taking a hot bath with Epsom salts (magnesium sulfate) is a good way to absorb and get much needed magnesium.
• People with kidney disease or severe heart disease should take magnesium only under a doctor’s supervision."