50 minutes is a little rush, but it should be enough. I would talk to the FA on your KA flight and see if they can move you to one of the unoccupied seats in the front of the cabin. That way you will be among the first to get off and will have a higher chance to catch your LAX flight.