Query time 0.00109
JSON explain
{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "c_status"],
"rows": 7,
"filtered": 71.42857361,
"attached_condition": "a.product_id = 0 and a.`status` = 'A'"
}
}
},
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["option_id", "lang_code"],
"ref": ["noframes_angrybeaver.a.option_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'ru')"
},
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["noframes_angrybeaver.a.option_id"],
"rows": 1,
"filtered": 91.42857361,
"attached_condition": "c.product_id in (10361,10362,10363,10364,10365,10366,10367,10368,10704,10705,10706,10707,10708,10709,10710,10711,10712,10301,10302,10303,10304,10425,10426,10427,10428,10429,10430,10431,10432,10433,10434,10435,10436,10437,10438,10439,10440,10441,10442,10443,10444,10522,9945,10601,9727,9728,9729,9730,9731,9732,9733,10181,9734,9735,9724,9803,9805,9797,9800,9799,9798,9801,9802,9806,9804,9809,9810,9811,9812,9807,9808,9683,10455,10456,10454,10453,10452,10451,10450,10449,10448,10447,12691,12692,12693,12694,12695,12696,12697,12698,12699,10370,10372,10374,10376,10377,10378,10379,10380,10381,10371,10373,10375,10387,10395,10390,10394,10393,10392,10386,10389,10388,10637,10638,10639,10640,10641,10744,10745,10746,9905,10168,10041,10643,10606,10094,10097,12703)",
"using_index": true
},
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "159",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"ref": ["noframes_angrybeaver.a.option_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_ult_objects_sharing.share_object_id = a.option_id and cscart_ult_objects_sharing.share_object_type = 'product_options'",
"using_index": true
}
}
}