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

Query time 0.00779

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.045809514,
    "nested_loop": [
      {
        "table": {
          "table_name": "storefronts_promotions",
          "access_type": "system",
          "possible_keys": ["PRIMARY", "idx_storefront_id"],
          "rows": 0,
          "filtered": 0,
          "const_row_not_found": true
        }
      },
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "tmall_promotions.stop_other_rules desc, tmall_promotions.priority",
            "table": {
              "table_name": "tmall_promotions",
              "access_type": "ALL",
              "loops": 1,
              "rows": 14,
              "cost": 0.01246567,
              "filtered": 100,
              "attached_condition": "if(tmall_promotions.from_date,tmall_promotions.from_date <= 1765539890,1) and if(tmall_promotions.to_date,tmall_promotions.to_date >= 1765539890,1) and tmall_promotions.`status` in ('A','H') and tmall_promotions.zone = 'catalog'"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "tmall_promotion_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["promotion_id", "lang_code"],
          "ref": ["tmall.tmall_promotions.promotion_id", "const"],
          "loops": 14,
          "rows": 1,
          "cost": 0.024411164,
          "filtered": 100,
          "attached_condition": "trigcond(tmall_promotion_descriptions.lang_code = 'en')"
        }
      }
    ]
  }
}

Result

promotion_id company_id conditions bonuses to_date from_date priority stop stop_other_rules zone conditions_hash status number_of_usages users_conditions_hash name detailed_description short_description
28 0 a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:1:{i:2;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:19:"247,214,217,218,244";}}} 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";}} 1766495205 0 0 N N catalog products=247,214,217,218,244 A 0 AB: Stock! Buy a promotional hair dryer VALERA - get a 40% discount on the curling iron! <p>Every buyer of a promotional hair dryer VALERA can get a 40% discount on a cooler *! To receive a gift, you need to add a VALERA promotional hairdryer and an action souplink to the cart.</p><p>The promotion is valid only, when placing an order on the site.</p><p>Hurry, the number of gifts is limited!</p><p>* 40% of the discount is given on the promotional product - promotional coupon.<br></p> <p>To receive a gift, you need to add a VALERA promotional hairdryer and an action souplink to the basket.</p><p>The promotion is valid only when placing an order on the site.<br></p>
29 0 a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:1:{i:2;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:19:"219,220,221,222,227";}}} 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:"50";}} 1766495205 0 0 N N catalog products=219,220,221,222,227 A 0 AB: RACING CARD + 2-YEAR LICENSE FOR RACES K1 <p><span class="legal-disclosures-line1">Promotional value expires 60 days after purchase. Amount paid never expires.</span> <span class="fine-print-description">Limit 2 per person, may buy 20 additional as gifts. Must activate licenses by the expiration date. Licenses expire 1 year from activation date. All junior racers must be at least 48'' and adult racers must be at least 4'10'' tall to race. All racers should be under 7' tall and 300 lbs. Subject to availability. Not valid for group events. May split between 2 people.</span> <span class="legal-disclosures-line2">Merchant is solely responsible to purchasers for the care and quality of the advertised goods and services.</span></p> <p><span class="legal-disclosures-line2"><span class="legal-disclosures-line1">Promotional value expires 60 days after purchase. Amount paid never expires.</span> <span class="fine-print-description">Limit 2 per person, may buy 20 additional as gifts.</span></span></p>
30 0 a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:1:{i:1;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:19:"228,229,205,206,207";}}} 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:"10";}} 1766495205 0 0 N N catalog products=228,229,205,206,207 A 0 AB: Only today you can buy a camera with - 10% discount <p>Buy a camera of a well-known brand with 10% discount during this period. </p><p>Buying promotional models of cameras or Canon lenses, you get a free one-year subscription to a plan for photographers from Adobe Creative Cloud and one of the online courses.<br></p> <p>Buy a camera of a well-known brand with 10% discount during this period. .<br> </p>