Electrolyte Supplementation

My sodium has been chronically low for more than years. I am sincerely struggling with night because of leg cramps that wake me up at late night. How can I make sure I am getting sufficient electrolyte supplementation every day? What is a simple and safe way to do this.
Not really an expert on this but if this were the case for me, I'd first start from the point of drinking a large electrolyte drink with my one daily meal. I'd avoid it during fasting period, but I would definitely try out if it works for me by taking more of it in during the meal and just increase it or decrease it depending on the effect it is having on me during night time in terms of whether or not my leg cramps are decreasing.