The 2nd is the correct version.
It's possible you will hear the first, if the person really meant to say "Where are my glasses ?" and then decided at the last moment to soften the question and make it more polite by preceding it with a "Do you know".