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