Having transited CAI several times, 1hr is most certainly not enough. I would allow for 3hrs - especially if you need to change terminal.
Its unlikely that you will receive your boarding pass in advance as check-in will want to do a document check. On arrival in CAI you would need to go to the MS Transit Desk and someone from there would take your passport n ticket to LH Check-in Desk to get your boarding pass. In the case of TK when I was in transit from KBP to LAX, they wanted to see me in person at check-in. MS Transit staff were kind enough to take me through without having to buy a visa.
For me transiting in CAI is not a big deal - be courteous, smile and allow time