The Queen in question is widely believed to be Elizabeth I and rather than there being a hidden meaning in this rhyme, it is probable that this simply refers to an actual event.
Pussy Cat, Pussy Cat Lyrics
Pussy cat, Pussy cat where have you been?
I’ve been to London to see the Queen
Pussy cat, pussy cat what did you there?
I frightened a little mouse under her chair.