Sample-efficient Real-time Planning with Curiosity Cross-Entropy Method and Contrastive Learning