A pawn on the sixth with the king in front is still a win, but it takes dozens of moves: centralise the queen, use the pawn as a shield, interpose with check, and advance only when the checks run out.
This is the realistic shape of queen-and-pawn versus queen: the pawn on c6 is not yet on the seventh, Black's queen is far away on a1 with endless checking potential, and the win requires about thirty accurate moves. Nobody memorises such lines; you learn the ideas.