id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE spectacle_person range PRIMARY, idperson, idspectacle, idrole idrole 6 7 Using where; Using index; Using temporary; Using filesort
1 SIMPLE spectacles eq_ref PRIMARY PRIMARY 4 theatreok_dev.spectacle_person.idspectacle 1 Using where
1 SIMPLE persons eq_ref PRIMARY PRIMARY 4 theatreok_dev.spectacle_person.idperson 1