MySQL needs create foreign keys with columns in the same order than the foreign primary key