Query time 0.00202
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_ab__mb_motivation_items.position",
"temporary_table": {
"table": {
"table_name": "cscart_ab__mb_motivation_items",
"access_type": "index",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "7",
"used_key_parts": ["motivation_item_id", "storefront_id"],
"rows": 6,
"filtered": 100,
"attached_condition": "cscart_ab__mb_motivation_items.storefront_id = 1 and cscart_ab__mb_motivation_items.`status` = 'A' and (cscart_ab__mb_motivation_items.usergroup_ids = '' or find_in_set(0,cscart_ab__mb_motivation_items.usergroup_ids) or find_in_set(1,cscart_ab__mb_motivation_items.usergroup_ids))"
},
"table": {
"table_name": "cscart_ab__mb_motivation_item_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["motivation_item_id", "lang_code"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_ab__mb_motivation_item_descriptions.lang_code = 'ru'"
},
"table": {
"table_name": "destination_objects_not_exclude",
"access_type": "ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "mid_otype",
"key_length": "6",
"used_key_parts": ["motivation_item_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(destination_objects_not_exclude.object_id in (0,12) or destination_objects_not_exclude.object_id is null) and trigcond(destination_objects_not_exclude.object_type = 'D' and trigcond(cscart_ab__mb_motivation_items.exclude_destinations = 'N'))",
"using_index": true
},
"table": {
"table_name": "destination_objects_exclude",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["motivation_item_id", "object_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(destination_objects_exclude.motivation_item_id is null) and trigcond(destination_objects_exclude.object_type = 'D' and trigcond(cscart_ab__mb_motivation_items.exclude_destinations = 'Y'))",
"using_index": true,
"not_exists": true
},
"table": {
"table_name": "category_objects_not_exclude",
"access_type": "ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "mid_otype",
"key_length": "6",
"used_key_parts": ["motivation_item_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(category_objects_not_exclude.object_id in (0,1659) or category_objects_not_exclude.object_id is null) and trigcond(category_objects_not_exclude.object_type = 'C' and trigcond(cscart_ab__mb_motivation_items.exclude_categories = 'N'))",
"using_index": true
},
"table": {
"table_name": "category_objects_exclude",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["motivation_item_id", "object_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(category_objects_exclude.motivation_item_id is null) and trigcond(category_objects_exclude.object_type = 'C' and trigcond(cscart_ab__mb_motivation_items.exclude_categories = 'Y'))",
"using_index": true,
"not_exists": true
},
"table": {
"table_name": "product_objects_not_exclude",
"access_type": "ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "mid_otype",
"key_length": "6",
"used_key_parts": ["motivation_item_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(product_objects_not_exclude.object_id in (0,10607) or product_objects_not_exclude.object_id is null) and trigcond(product_objects_not_exclude.object_type = 'P' and trigcond(cscart_ab__mb_motivation_items.exclude_products = 'N'))",
"using_index": true
},
"table": {
"table_name": "product_objects_exclude",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "mid_otype"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["motivation_item_id", "object_id", "object_type"],
"ref": [
"noframes_angrybeaver.cscart_ab__mb_motivation_items.motivation_item_id",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(product_objects_exclude.motivation_item_id is null) and trigcond(product_objects_exclude.object_type = 'P' and trigcond(cscart_ab__mb_motivation_items.exclude_products = 'Y'))",
"using_index": true,
"not_exists": true
}
}
}
}
}
Result
| motivation_item_id |
storefront_id |
position |
expanded_desktop |
expanded_tablet |
expanded_mobile |
vendor_edit |
status |
icon_type |
icon_class |
icon_color |
exclude_categories |
exclude_destinations |
exclude_products |
template_path |
template_settings |
usergroup_ids |
name |
description |
lang_code |
| 1 |
1 |
100 |
N |
N |
N |
Y |
A |
icon |
ut2-icon-outline-local_shipping |
#999999 |
N |
N |
N |
addons/ab__motivation_block/blocks/components/item_templates/custom_content.tpl |
a:2:{s:16:"brand_feature_id";s:2:"18";s:19:"tags_items_per_page";s:2:"20";} |
0 |
Доставка |
<ul><li>— Внутри МКАД - 1600 руб.</li>
<li>— За МКАД - 45 руб. / км.</li></ul>
<p><a href="/oplata-i-dostavka/" target="_blank">Подробнее</a></p> |
ru |
| 2 |
1 |
200 |
N |
N |
N |
Y |
A |
icon |
ut2-icon-baseline-credit_card |
#999999 |
N |
N |
N |
addons/ab__motivation_block/blocks/components/item_templates/custom_content.tpl |
a:2:{s:16:"brand_feature_id";s:2:"18";s:19:"tags_items_per_page";s:2:"20";} |
0 |
Варианты оплаты |
<ul><li>— Большой выбор вариантов оплаты</li><li>— Картами Visa и MasterCard</li><li>— Оплата по счету</li></ul>
<p><a href="/oplata/" target="_blank">Подробнее</a></p> |
ru |
| 3 |
1 |
300 |
Y |
N |
N |
Y |
A |
icon |
ut2-icon-outline-new_releases |
#999999 |
N |
N |
N |
addons/ab__motivation_block/blocks/components/item_templates/custom_content.tpl |
a:2:{s:16:"brand_feature_id";s:2:"18";s:19:"tags_items_per_page";s:2:"20";} |
0 |
Наши преимущества |
<ul>
<li>— Складская программа<span class="cm-tooltip"></span></li>
<li>— Постоянное обновление коллекций</li>
<li>— Комплексные интерьерные решения</li>
<li>— Сертифицированная продукция</li><li>— Уникальность</li></ul> |
ru |