Query time 0.00745
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": 100,
"attached_condition": "a.product_id in (10456,10455,12702,10446,12579,12580,12700,10444,10443,10442,10441,10440,10439,10438,10437,10436,10435,10434,10433,10432,10431,10430,10429,10428,10427,10426,10425,12564,10424,10423,10422,10421,10420,10419,10418,10417,12856,10416,10415,10414,12855,12854,12853,10412,10411,10410,10409,10408,10407,10406,15781,10405,10404,10403,10402,10401,10400,10399,10398,10397,10395,10394,10393,10392,10390,10389,10388,10387,10386,10384,10383,10382,12679,12678,12677,12676,12675,12674,12673,15779,12672,12671,12994,12993,12992,12991,12990,12989,12988,12987,12986,12985,10343,10345,10346,10347,10348,10349,10323,10350,10370,10324,10351,10371,10325,10352,10372,10305,10326,10353,10373,10306,10327,10354,10374,10307,10328,10355,10375,10308,10329,10356,10376,10309,10330,10357,10377,10310) 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": "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
}
}
}