There’s no difference. They are synonyms.
From the CREATE TABLE manual entry:
KEYis normally a synonym forINDEX. The key attributePRIMARY KEYcan
also be specified as justKEYwhen given in a column definition. This was
implemented for compatibility with other database systems.