Again sounds like MCAS: Peanuts are high in histamine....
I react more directly to histaminey foods when I'm in an MCAS flare with a phlegmy inflammation.
Muscle aches, headache & GI are also possible mast cell reactions though.
Again: reducing all triggering foods, histamine and otherwise, incl. histamine liberators whilst in a flare, trying an antihistamine, anti-inflammatory supps and before eating the histamine reducing enzyme DAO, may help - do me, as well as my specialities GABA and cold showering.