Watching a movie on a local Russian channel right now. Don't understand most, but here is what's happened so far.

A young boy with glasses is transported back in time to a medieval/mongol village and taken prisoner by an evil sorceress. There is also a musical number in the middle with said witch, including an awesome fake gigantic snake.

And the whole thing ends up being a dream in the end...

Any ideas?