Query time 0.00079
JSON explain
{
"query_block": {
"select_id": 1,
"message": "Impossible WHERE noticed after reading const tables",
"table": {
"nested_loop": [
{
"materialized_from_subquery": {
"using_temporary_table": true,
"dependent": false,
"cacheable": true,
"query_block": {
"select_id": 3,
"cost_info": {
"query_cost": "1.20"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_ab__dotd_periods",
"access_type": "index",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"promotion_id",
"from_date"
],
"key_length": "7",
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "1.20",
"data_read_per_join": "16"
},
"used_columns": [
"promotion_id",
"from_date",
"to_date"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_ab__dotd_periods`.`to_date` < 1731603122)"
}
}
}
}
},
{
"materialized_from_subquery": {
"using_temporary_table": true,
"dependent": false,
"cacheable": true,
"query_block": {
"select_id": 2,
"cost_info": {
"query_cost": "1.20"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_ab__dotd_periods",
"access_type": "index",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"promotion_id",
"from_date"
],
"key_length": "7",
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "1.20",
"data_read_per_join": "16"
},
"used_columns": [
"promotion_id",
"from_date",
"to_date"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_ab__dotd_periods`.`to_date` >= 1731603122)"
}
}
}
}
}
]
}
}
}