SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}Tanna{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}' OR prCity = 'Tanna' OR prZip = 'Tanna' OR prStreet LIKE '{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}Tanna{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}' OR prCountry = 'Tanna') AND (prLocation LIKE '{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}Germany{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}Germany{d3f5bd0662ea86aede12b0e815e9a9fdb0ce23bd67f611ed527812ca8182461d}' OR prCountry = 'Germany')