Query time 0.00256
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "201.30"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "l",
"access_type": "ALL",
"rows_examined_per_scan": 1874,
"rows_produced_per_join": 18,
"filtered": "1.00",
"cost_info": {
"read_cost": "192.87",
"eval_cost": "1.87",
"prefix_cost": "194.75",
"data_read_per_join": "4K"
},
"used_columns": [
"location_id",
"dispatch",
"is_default",
"layout_id",
"object_ids",
"custom_html",
"position"
],
"attached_condition": "((`s2cart`.`l`.`layout_id` = 78) and (`s2cart`.`l`.`dispatch` = 'companies.products'))"
}
},
{
"table": {
"table_name": "d",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"location_id",
"lang_code"
],
"key_length": "10",
"ref": [
"s2cart.l.location_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(d), (`s2cart`.`d`.`location_id` = `s2cart`.`l`.`location_id`), true)",
"cost_info": {
"read_cost": "4.69",
"eval_cost": "1.87",
"prefix_cost": "201.31",
"data_read_per_join": "4K"
},
"used_columns": [
"location_id",
"lang_code",
"name",
"title",
"meta_description",
"meta_keywords"
]
}
}
]
}
}
}