Here is an interesting thought.
UPDATE table1
SET field1 = UNIX_TIMESTAMP()
WHERE
field1 <= UNIX_TIMESTAMP() - 600
AND field2 > UNIX_TIMESTAMP() - 1000
Will the three time stamp may result in different values .. or if there is a chance that MySQL may intelligently evaluate these once and use the result in all three of these ?
UNIX_TIMESTAMP()5030 times in a query and it took **206 ** Seconds and the results are all same.