{
"query_block": {
"select_id": 1,
"table": {
"table_name": "items",
"access_type": "ref",
"possible_keys": ["product_id"],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"attached_condition": "items.`status` = 'A' and (items.date_from <= 1747148400 and items.date_to >= 1747148400 or items.date_from = 0 and items.date_to >= 1747148400 or items.date_to = 0 and items.date_from <= 1747148400 or items.date_from = 0 and items.date_to = 0)"
},
"table": {
"table_name": "p",
"access_type": "const",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "descr",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "10",
"used_key_parts": ["chain_id", "lang_code"],
"ref": ["markins_test.items.chain_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr.lang_code = 'en')"
}
}
}
chain_id | product_id | products | modifier | modifier_type | date_from | date_to | display_in_promotions | status | name | description | company_id |
---|---|---|---|---|---|---|---|---|---|---|---|
26 | 498 | a:1:{i:1918725652;a:4:{s:10:"product_id";s:3:"499";s:6:"amount";s:1:"1";s:13:"modifier_type";s:8:"by_fixed";s:8:"modifier";d:100;}} | 100.000 | by_fixed | 1471532400 | 1787065200 | N | A | Markins PP-K1 + LP-K1 L-Plate Set | 1 |