ALTER IGNORE TABLE yourtable ADD UNIQUE KEY (questions, option_a, option_b, option_c, option_d);