Mucus plug?

W

This came out. Thick jelly like texture. Wondering what’s the average time between losing it and labor. I know it can still be weeks. I’m 39&3. No contractions or anything besides BH