You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::text||0x315a52 AS NUMERIC) AND 0x7a337a6a='z3zj'' at line 3