1064 - 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 '' at line 1

SELECT p.member_id, p.product_name, p.product_slno, p.img_dir, p.water_mark_img_dir, p.small_image, p.small_image_width_height, p.full_image_width_height, p.full_image, p.image_disp_status, p.water_mark FROM member_classified_trans_1 mct inner JOIN product_tbl p ON mct.mem_classified_trans_slno=p.member_classified_slno JOIN product_kword pk on pk.prod_id = mct.prod_id WHERE p.member_id='2710336' && pk.main_catg_id!='10474' && pk.l2_id!=11175 && small_image!='' && p.member_classified_slno = '5621357' && mct.status='1' && pk.status NOT IN ('0','2') && pk.match_status!='0' && p.image_disp_status='Y' LIMIT