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