Moping around means that you are in a bad mood.
A stick in the mud is someone who is being boring and annoying and has no new ideas.
So moping around like a stick in the mud means that you're wandering around in a bad mood with no new ideas and who is bored and annoyed.
Hope that helps!