id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE pe ref PRIMARY, idcontact idcontact 4 const 972 Using where; Using temporary; Using filesort
1 SIMPLE er ref PRIMARY, idperson, idrole PRIMARY 4 theatreok_dev.pe.idperson 1 Using index
1 SIMPLE r eq_ref PRIMARY PRIMARY 2 theatreok_dev.er.idrole 1 Using where
1 SIMPLE l eq_ref PRIMARY PRIMARY 767 theatreok_dev.r.role 1 Using where