id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE er ref PRIMARY, idperson, idrole idrole 2 const 50 Using where; Using index; Using temporary; Using filesort
1 SIMPLE pe ref PRIMARY, idcontact PRIMARY 4 theatreok_dev.er.idperson 1 Using where
1 SIMPLE cte eq_ref PRIMARY PRIMARY 4 theatreok_dev.pe.idcontact 1
1 SIMPLE T1 eq_ref PRIMARY PRIMARY 4 theatreok_dev.er.idperson 1