SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    366729, 366746, 366786, 366783, 366726, 
    366739, 366737, 366787
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00065

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "11.22"
    },
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 8,
      "rows_produced_per_join": 8,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "9.62",
        "eval_cost": "1.60",
        "prefix_cost": "11.22",
        "data_read_per_join": "54K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (366729,366746,366786,366783,366726,366739,366737,366787)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
366726 <h2 style="font-size:25px;">Eco-friendly shoulder bag in PU</h2> <p style="color:#000000;font-size:18px;"> Quilted geometric pattern <br /> Metal logo on the front <br /> Removable logo wallet charm <br /> Adjustable and removable shoulder strap in grosgrain with logo <br /> Logoed internal label <br /> Inside pocket with zip <br /> Contrasting inner lining <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> Measurements: 22 x 8 x 14.5 cm <br /> Sustainable product "Liu Jo Better" </p> <p style="color:#000000;font-size:18px;"> The textile product was made with at least 20% pre and post-consumer recycled material In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> ITEM N. AF2222E042622222T.U. <br /> Black colour </p>
366729 <h2 style="font-size:25px;">Eco-sustainable shopping bag in PU</h2> <p style="color:#000000;font-size:18px;"> Tumbled effect <br /> Front pocket with flap and metal logo <br /> Charm with golden metal star <br /> Comfortable handles <br /> Internal patch pocket <br /> Inside pocket with zip <br /> Inner lining with animal print <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> Measurements: 33 x 13.5 x 27cm <br /> Sustainable product "Liu Jo Better" </p> <p style="color:#000000;font-size:18px;"> In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> ITEM N. AF2081E002722222T.U. <br /> Black color. Deer color </p>
366737 <h2 style="font-size:25px;">Eco-friendly shoulder bag in PU</h2> <p style="color:#000000;font-size:18px;"> Quilted geometric pattern <br /> Metal logo on the front <br /> Adjustable and removable shoulder strap with logo <br /> Removable coin purse charm with logo <br /> Internal pocket with zip and logoed label <br /> Contrasting inner lining <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> Measurements: 23 x 7 x 18cm <br /> Sustainable product "Liu Jo Better" </p> <p style="color:#000000;font-size:18px;"> The textile product was made with at least 20% pre and post-consumer recycled material In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> ITEM N. AF2153E042622222T.U.<br /> Brand liu jo <br /> black colour </p>
366739 <h2 style="font-size:25px;">Eco-friendly shoulder bag in PU</h2> <p style="color:#000000;font-size:18px;"> Adjustable shoulder strap <br /> Metal logo on the front <br /> Chain handle <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> Measurements: 18 x 7.5 x 12cm <br /> Sustainable product "Liu Jo Better"</p> <p style="color:#000000;font-size:18px;"> In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> Brand liu jo <br /> Black color, Golf color</p>
366746 <h2 style="font-size:25px;">Shoulder bag in PU</h2> <p style="color:#000000;font-size:18px;"> Metal logo on the front <br /> Two compartments <br /> Compartment with zip <br /> Flap closure </p> <p style="color:#000000;font-size:18px;"> Measurements: 25 x 10 x 15.5 cm </p> <p style="color:#000000;font-size:18px;"> In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> ITEM N. AF2118E050322222T.U. <br /> Brand: liu jo <br /> Black color, Nuez color </p>
366783 <h2 style="font-size:25px;">Eco-friendly shoulder bag in PU</h2> <p style="color:#000000;font-size:18px;"> Eco-friendly shoulder bag in PU <br /> Tumbled effect <br /> Adjustable shoulder strap <br /> Metal logo on the front <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> Measurements: 21 x 5.5 x 14cm <br /> Sustainable product "Liu Jo Better" <br /> ITEM NO: AF2028E0086 <br /> Black color and Rainy day color </p>
366786 <h2 style="font-size:25px;">Shoulder bag in PU </h2> <p style="color:#000000;font-size:18px;"> Adjustable shoulder strap <br /> External patch pocket <br /> Metal logo on the front <br /> Logoed zip puller <br /> Zip closure </p> <p style="color:#000000;font-size:18px;"> In order to best preserve the products purchased, it is advisable to pay attention to the sanitizing gels which, if used in direct contact with clothing and accessories, could alter their original appearance </p> <p style="color:#000000;font-size:18px;"> Measurements: 23 x 7 x 15cm <br /> Brand: Liu jo <br /> Price: €109.90 <br /> Neutral color <br /> Code: AF22119E050371038 </p>
366787 <h2 style="font-size:25px;">Faux leather women's bag with front logo </h2> <p style="color:#000000;font-size:18px;"> Women's bag in faux leather with front logo, single handle with removable and adjustable shoulder strap, central closure with hook flap, lined interior with the presence of 2 multipurpose pockets. </p> <p style="color:#000000;font-size:18px;"> Measures: Length 28cm; Height 20cm; Depth 11cm; <br /> Color: cocoa <br /> Code: AF2022E0086 </p>