You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'OR (precio2_prop >= 100000/ AND precio2_prop > 0)) AND 1=1 AND image_img NOT l' at line 66