Mucus plug or sperm?

This morning the hubby and I had sex and about 5 mins after I went and peed and when I wiped I got a big chunk of mucus like stuff. It was yellowish green. I’m currently 35 weeks pregnant and also had my cervix checked yesterday and was thinned out but not dilated. I had some pain and cramps last night and I had cramps this morning during sex. Could this have been my mucus plug or just sperm? Here’s a pic of what it looked like(not my pic but it’s exactly what it looked like)