title: MySQL Determine which condition was satisfied
body: <p>I was wondering if there is way to store where clause conditions and not calculate them more than once in order to determine which one was satisfied.
  Here is what I am talking about:
  <code>select col, col1&gt;5 cond1, col2&lt;400 cond2 from table where col1&gt;5 or col2&lt;400</code></p>