Why did Hashem answer "If I will find in S'dom ... " in the future?
Seforno: The visit of the angels to S'dom was the litmus test that would determine Hashem's final judgment. 1
Refer to 18:28:1:1.