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