Query time 0.00053
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": 3,
"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": ["admin_test.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": ["admin_test.cscart_discussion.object_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "p.product_id in (21088,20980,21071,21074,21072,21073,21076,21119,21166,21116,21117,21118,21087,21120,21096,21113,21097,21114,21105,21108,21106,21098,21110,21111)",
"using_index": true
}
}
}
}
}