Be careful with going extreme on any particular electrolyte as it can impact electrical signaling in your body and impact blood pressure, heart irregularities, muscle cramps, etc. Balance is everything. You can buy electrolyte pills that you can dissolve in water, without any sugary garbage in it. Or check for foods that are high in specific electrolytes you are looking for. I go for 1/2 a not too ripe banana for a potassium boost, or some brazil nuts for some magnesium. Also please check your water quality.
These are are the electrolytes:
Sodium (Na)
Calcium (Ca)
Magnesium (Mg)
Phosphate (HPO4)
Potassium (K)
Bicarbonate (HCO3)
Chloride (Cl) Do not confuse it with chlorine, the disinfectant in tap water.
Imbalances were also a symptom in my case of malabsorption, EPI, etc. There is a test by Spectracell lab that checks for intra-cellular levels in white blood cells that might be worthwhile. It is tough, unless extremely off, to spot deficiencies through the standard blood tests, as the body tries very hard to maintain an electrolyte balance in the blood.