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