SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Alhama{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCity = 'Alhama' OR prZip = 'Alhama' OR prStreet LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Alhama{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCountry = 'Alhama') AND (prLocation LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}de{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCity = 'de' OR prZip = 'de' OR prStreet LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}de{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCountry = 'de') AND (prLocation LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Murcia{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCity = 'Murcia' OR prZip = 'Murcia' OR prStreet LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Murcia{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCountry = 'Murcia') AND (prLocation LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Spain{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}Spain{798ed82b06241ab7909efafd5d0f59366cbdec00974b35f875872d15d07931f2}' OR prCountry = 'Spain')