 <p>Use <code>EXPLAIN</code> to see how MySQL handles the queries, it might give you a clue. </p> <p>Also, try some other characters. Maybe MySQL is misinterpreting one of those as having a percent sign in it.</p>