I am around your age and have had similar issues and was under Dr. care for a bit. Two things I would suggest going forward to prevent the spasm. First, make sure you are drinking plenty of liquids and that your potassium intake is sufficient. At our age, we tend to lose potassium more quickly. Second, take on a short stretching routine every morning. As you sleep, your muscles contract. So, do things like fencer's strectches in the morning. Takes me less tan 5 minutes but it makes a big difference.