Query time 0.00047
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.80"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_ab__stickers",
"access_type": "ref",
"possible_keys": [
"c_status"
],
"key": "c_status",
"used_key_parts": [
"status"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"index_condition": "((`s2cart`.`cscart_ab__stickers`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_ab__stickers`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_ab__stickers`.`usergroup_ids`)))",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "2K"
},
"used_columns": [
"sticker_id",
"storefront_ids",
"usergroup_ids",
"position",
"status",
"name_for_admin",
"type",
"style",
"display_on_lists",
"display_on_detailed_pages",
"output_position_list",
"output_position_detailed_page",
"appearance",
"pictogram_data",
"conditions",
"from_date",
"to_date",
"last_update_time",
"last_update_time_pictogram",
"vendor_edit"
],
"attached_condition": "((0 <> find_in_set(1,`s2cart`.`cscart_ab__stickers`.`storefront_ids`)) and ((`s2cart`.`cscart_ab__stickers`.`from_date` <= 1734814800) or (`s2cart`.`cscart_ab__stickers`.`from_date` = 0)) and ((`s2cart`.`cscart_ab__stickers`.`to_date` >= 1734814800) or (`s2cart`.`cscart_ab__stickers`.`to_date` = 0)) and (`s2cart`.`cscart_ab__stickers`.`type` = 'D') and (`s2cart`.`cscart_ab__stickers`.`display_on_detailed_pages` <> 'not_display'))"
}
},
{
"table": {
"table_name": "descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"sticker_id",
"lang_code"
],
"key_length": "9",
"ref": [
"s2cart.cscart_ab__stickers.sticker_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.70",
"data_read_per_join": "1K"
},
"used_columns": [
"sticker_id",
"lang_code",
"name_for_desktop",
"name_for_mobile",
"description",
"pictogram_data"
]
}
},
{
"table": {
"table_name": "images",
"access_type": "eq_ref",
"possible_keys": [
"sticker"
],
"key": "sticker",
"used_key_parts": [
"sticker_id",
"lang_code"
],
"key_length": "9",
"ref": [
"s2cart.cscart_ab__stickers.sticker_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.10",
"prefix_cost": "1.80",
"data_read_per_join": "16"
},
"used_columns": [
"image_id",
"sticker_id",
"lang_code"
]
}
}
]
}
}
}