Not sure if this is really needed, since notice_id and profile_id together build up the primary key. That might cause MySQL to index them anyway.