SELECT 
  cscart_promotions.*, 
  cscart_promotion_descriptions.name, 
  cscart_promotion_descriptions.detailed_description, 
  cscart_promotion_descriptions.short_description 
FROM 
  cscart_promotions 
  LEFT JOIN cscart_promotion_descriptions ON cscart_promotion_descriptions.promotion_id = cscart_promotions.promotion_id 
  AND cscart_promotion_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = cscart_promotions.promotion_id 
WHERE 
  1 
  AND IF(
    from_date, from_date <= 1763152010, 
    1
  ) 
  AND IF(to_date, to_date >= 1763152010, 1) 
  AND status IN ('A', 'H') 
  AND cscart_promotions.zone = 'catalog' 
  AND (
    storefronts_promotions.storefront_id = 1 
    OR storefronts_promotions.storefront_id IS NULL
  ) 
ORDER BY 
  cscart_promotions.stop_other_rules desc, 
  cscart_promotions.priority asc

Query time 0.00083

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "114.70"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "41.75"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "storefronts_promotions",
            "access_type": "system",
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "storefront_id",
              "promotion_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_promotions",
            "access_type": "range",
            "possible_keys": [
              "status_idx",
              "zone_idx"
            ],
            "key": "status_idx",
            "used_key_parts": [
              "status"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 66,
            "rows_produced_per_join": 41,
            "filtered": "63.25",
            "index_condition": "(`cscart_db`.`cscart_promotions`.`status` in ('A','H'))",
            "cost_info": {
              "read_cost": "64.61",
              "eval_cost": "4.17",
              "prefix_cost": "68.78",
              "data_read_per_join": "38K"
            },
            "used_columns": [
              "promotion_id",
              "company_id",
              "conditions",
              "bonuses",
              "to_date",
              "from_date",
              "priority",
              "stop",
              "kc_activate",
              "exclude_kc_commission",
              "zone",
              "conditions_hash",
              "status",
              "number_of_usages",
              "users_conditions_hash",
              "cp_em_for_notices",
              "stop_other_rules",
              "user_id",
              "aff_plan_id",
              "status_spin_to_win",
              "coupon_code",
              "show_best_price_on"
            ],
            "attached_condition": "((0 <> if(`cscart_db`.`cscart_promotions`.`from_date`,(`cscart_db`.`cscart_promotions`.`from_date` <= 1763152010),1)) and (0 <> if(`cscart_db`.`cscart_promotions`.`to_date`,(`cscart_db`.`cscart_promotions`.`to_date` >= 1763152010),1)) and (`cscart_db`.`cscart_promotions`.`zone` = 'catalog'))"
          }
        },
        {
          "table": {
            "table_name": "cscart_promotion_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "promotion_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "cscart_db.cscart_promotions.promotion_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 41,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "4.17",
              "prefix_cost": "72.96",
              "data_read_per_join": "98K"
            },
            "used_columns": [
              "promotion_id",
              "name",
              "short_description",
              "detailed_description",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

promotion_id company_id conditions bonuses to_date from_date priority stop kc_activate exclude_kc_commission zone conditions_hash status number_of_usages users_conditions_hash cp_em_for_notices stop_other_rules user_id aff_plan_id status_spin_to_win coupon_code show_best_price_on name detailed_description short_description
2663 0 a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:2:{i:1;a:3:{s:8:"operator";s:2:"eq";s:9:"condition";s:9:"usergroup";s:5:"value";s:2:"80";}i:4;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:5:"16337";}}} a:1:{i:1;a:3:{s:5:"bonus";s:16:"product_discount";s:14:"discount_bonus";s:13:"by_percentage";s:14:"discount_value";s:2:"20";}} 0 0 0 N N N catalog usergroup=80;products=16337 H 0 N N 51 0 test app only discount <p>testing app only offers</p> <p></p>