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 (
    263981, 264973, 264102, 366828, 371861, 
    366833, 366771, 371878, 366815, 371873, 
    366690, 371884, 371890, 371868, 366760, 
    371898, 371895, 366821, 371902
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00137

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.64"
    },
    "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": 19,
      "rows_produced_per_join": 19,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "22.84",
        "eval_cost": "3.80",
        "prefix_cost": "26.64",
        "data_read_per_join": "129K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (263981,264973,264102,366828,371861,366833,366771,371878,366815,371873,366690,371884,371890,371868,366760,371898,371895,366821,371902)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
263981 <p> <strong>Special rubber sneakers.</strong></p> <p>Numbers - 36, 37, 38, 39, 40</p>
264102 <p> Very nice sports sneakers and very comfortable </p>
264973 <p> Very nice sports sneakers and very comfortable </p>
366690 <h2 style="font-size:25px;"> ALLY NYLON SOLID NAVY BLUE </h2> <p style="color:#000000;font-size:18px;"> <u> Brand:</u> Sun 68 <br /> </p> <p style="color:#000000;font-size:18px;"> 54% Leather 40% Textile 6% Polyurethane </p> <p style="color:#000000;font-size:18px;"> Item CODE Z42201 <br /> Numbers from 35 to 41 </p>
366760 <h2 style="font-size:25px;"> Leather platform sneakers </h2> <p style="color:#000000;font-size:18px;"> Sneakers with upper in white leather <br /> Two-tone metallic logo applied on the side <br /> Metallic effect spoiler <br /> Flat laces <br /> Platform sole with printed logo <br /> Notched rubber tread </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4,5 cm <br /> <u> ITEM NO.:</u> BF2095P010201111 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366771 <h2 style="font-size:25px;"> Platform sneakers in camouflage mesh </h2> <p style="color:#000000;font-size:18px;"> Sneakers in suede and laminated camouflage mesh <br /> Satin and lamé inserts <br /> Two-tone effect metallic logo <br /> Metallic effect spoiler with LJ logo <br /> Tone-on-tone flat laces <br /> Two-tone platform sole with printed logo <br /> Notched rubber tread </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4,5 cm <br /> <u> Brand:</u> Liu jo <br /> <u> ITEM NO.:</u> BF2097PX255S1870 <br /> <u> Color:</u> beige </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366815 <h2 style="font-size:25px;"> Upper suede/fabric Initials ram </h2> <p style="color:#000000;font-size:18px;"> <u> Supplier Code:</u> 4f2767tx279s1007/black nude <br /> <u> Lining:</u> fabric<br /> <u> Insole:</u> leather<br /> <u> Insole:</u> removable<br /> <u> Bottom:</u> rubber<br /> <u> Closure:</u> laces<br /> <u> Fit:</u> regular<br /> <u> Color:</u> black, nude <br /> <u> Style:</u> leisure <br /> <u> Heel height:</u> 3.5 cm <br /> Ean138056699648568 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366821 <h2 style="font-size:25px;"> Faux leather upper Initials ram </h2> <p style="color:#000000;font-size:18px;"> <u> Supplier Code:</u> 4f2733ex01401111/white <br /> <u> Lining:</u> fabric<br /> <u> Insole:</u> leather<br /> <u> Footbed:</u> fixed<br /> <u> Bottom:</u> rubber<br /> <u> Closure:</u> laces<br /> <u> Fit:</u> regular<br /> <u> Seasons:</u> all seasons <br /> <u> Color:</u> white <br /> <u> Style:</u> casual <br /> Ean13 8056699646229 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366828 <h2 style="font-size:25px;"> Mixed leather vibo sneaker </h2> <p style="color:#000000;font-size:18px;"> Mixed leather sneaker. <br /> Round tip. <br /> String closure. <br /> Side logo lettering. <br /> 4G print detail and peony logo on the back. <br /> Leather insole. <br /> Inner lining in fabric. <br /> Rubber sole. </p> <p style="color:#000000;font-size:18px;"> <u> Code No.:</u> FL7RNOFAL12 <br /> <u> Brand:</u> Guess </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366833 <h2 style="font-size:25px;"> Mixed leather runner </h2> <p style="color:#000000;font-size:18px;"> Round tip. <br /> Height para 5.5 cm. <br /> String closure. <br /> Peony embossed logo. <br /> Laminated inserts and mesh inserts. <br /> Insole and inner lining in fabric. <br /> Rubber sole. <br /> Runner harinna logo </p> <p style="color:#000000;font-size:18px;"> <u> Brand:</u> Guess </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
371861 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371868 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371873 <h2 style="color:#000000;font-size:22px;">Buffon Men's Sneakers</h2> <p style="color:#000000;font-size:22px;"> Material: Suede</p>
371878 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371884 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371890 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371895 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371898 <h2 style="color:#000000;font-size:22px;"> Buffon Sneakers for Men </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371902 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: Suede</p>