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