id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE T5 ref idnew, idspectacle idspectacle 4 const 1 Using where; Using temporary; Using filesort
1 SIMPLE T1 eq_ref PRIMARY, idextranetuser, publish, valid PRIMARY 4 theatreok_dev.T5.idnew 1 Using where
1 SIMPLE T2 eq_ref PRIMARY PRIMARY 4 theatreok_dev.T1.idextranetuser 1
1 SIMPLE T3 ref idnew, idcontact idnew 4 theatreok_dev.T5.idnew 2 Using where
1 SIMPLE T4 eq_ref PRIMARY PRIMARY 4 theatreok_dev.T3.idcontact 1 Using index