Revert to 512-char keys, use TEXT instead of VARCHAR