The corys would be fine not sure about the k loaches however the don't grow very big so i presume they would also be fine in a planted tank as long as it was big enough for them.
all are fine in planted tanks, may knock them, but if the plants are planted well, it shouldnt effect them.