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 'and session_id='b3f96172244f00648d3798d5144d95e9' AND id_narudzbe = 0 LIMIT 1' at line 1