It is not a constraint, it is uniq index:
ALTER TABLE my_table ADD UNIQUE KEY key1 (LAST_NAME, COURSE) USING BTREE;