World of Warcraft, the horde and alliance? could not understand each others speech in game. Slash command /say showed what you typed to the surrounding area. If the horde player did /say lol The alliance people in the area would see it as kek.
Everyone knew it was lol and that's the true origin of kek.