SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Berlin{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Berlin{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCountry = 'Berlin') AND (prLocation LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}/{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}/{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCountry = '/') AND (prLocation LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Biesdorf{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCity = 'Biesdorf' OR prZip = 'Biesdorf' OR prStreet LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Biesdorf{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCountry = 'Biesdorf') AND (prLocation LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Germany{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}Germany{f3aaf667452d620310e027a86ed452b475d06e5a5c91f6006f26c33c49935bab}' OR prCountry = 'Germany')