If everything runs according to schedule, 45 mins will be plenty. However ...... as it goes these days.
Can you check the bag to Koeln. I know you used to be able to check in at Koeln, if the train ticket was issued by LH. Does it work in reverse? Or, do you have a DB ticket?