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='81c281a58eda475fb31f3e84f77c78de' AND id_narudzbe = 0 LIMIT 1' at line 1