Mucus plug

Sally

I am 40 weeks and 4 days, my mucus plug has came out, experiencing pain but not contractions, could this mean labour is near or still a while to go?