Group velocity matching in high-order harmonic generation driven by mid-infrared lasers