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