I take it you are referring to this thread. Not to put too fine a point on it, Milind, but you have "been whooshed".
By his comment,
----------------------------------------------------------------------
add 'AND 1 = 0' to your where clause. That will speed things up !
----------------------------------------------------------------------
Frank was flippantly making what is generally known as a joke.
Since Frank apparently thought that the original poster had not provided enough substantive information for Frank to diagnose the slow response time of the mystery query, Frank responded with a tongue-in-cheek answer.
You are correct, adding a predicate of AND 1 = 0 will result in no rows selected, but, you have to admit, doing so will also speed up that query's response time, however pointlessly.
I'm going to go lie down now.