Query time 0.00032
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "p.product_id",
"temporary_table": {
"table": {
"table_name": "dp",
"access_type": "ALL",
"possible_keys": ["thread_id", "thread_id_2"],
"rows": 8,
"filtered": 100,
"attached_condition": "dp.`status` = 'A'"
},
"table": {
"table_name": "cscart_discussion",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "object_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["thread_id"],
"ref": ["ymonline_livedata.dp.thread_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_discussion.object_type = 'P'"
},
"table": {
"table_name": "p",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["ymonline_livedata.cscart_discussion.object_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "p.product_id in (11917,11916,15106,15071,11664,2616,2615,2552,11121,2570,2617,2618,2703,2706,2708,2701,2329,12686,12687,11800,11801,2738,2739,2740,2737,2845,2643,12708,12707,2347)",
"using_index": true
}
}
}
}
}