SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}Mutxamel{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}' OR prCity = 'Mutxamel' OR prZip = 'Mutxamel' OR prStreet LIKE '{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}Mutxamel{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}' OR prCountry = 'Mutxamel') AND (prLocation LIKE '{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}Spain{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}Spain{e4f90042fce2e1fc6bdaf46c790a2ea6033001170f2cd5c63472d9f8d1b30ec6}' OR prCountry = 'Spain')