Lewis Hamilton was pleased with the performance of his Mercedes after qualifying third for the Mexico City Grand Prix.