Lufthansa website indicates "K" as booking class, i.e. one of their cheap fare classes. As a result, you get 2,862 miles in total with M&M. And if I'm reading the UA accrual chart correctly, you'll get exactly 0 miles. Aeroplan isn't listing booking class K.
Good fare though. From Luxembourg you can fly quite cheaply to Northern Italy, Spain and London (84 to 105$ for a return flight on Luxair including snack + 1 checked bag)