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