SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}Santanyí{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}' OR prCity = 'Santanyí' OR prZip = 'Santanyí' OR prStreet LIKE '{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}Santanyí{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}' OR prCountry = 'Santanyí') AND (prLocation LIKE '{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}Spanien{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}' OR prCity = 'Spanien' OR prZip = 'Spanien' OR prStreet LIKE '{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}Spanien{bfdd0417e5c9a7a9fdaa623579b9d87736f945e489f6c0e39ba68daa7016cbca}' OR prCountry = 'Spanien')