Mucus plug?

Im 25 weeks and had a sharp vaginal pain before I went to the restroom. No cramping, spotting or bleeding