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