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 (
    431687, 431783, 431802, 431514, 431590, 
    431659, 431552, 431542, 431767, 431698, 
    431605, 431734, 431754, 431506, 431743, 
    431615, 431776, 431579, 431570, 431792, 
    431667, 431672
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00141

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "30.85"
    },
    "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": 22,
      "rows_produced_per_join": 22,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "26.45",
        "eval_cost": "4.40",
        "prefix_cost": "30.85",
        "data_read_per_join": "150K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (431687,431783,431802,431514,431590,431659,431552,431542,431767,431698,431605,431734,431754,431506,431743,431615,431776,431579,431570,431792,431667,431672)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
431506 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431514 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431542 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431552 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431570 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431579 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431590 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431605 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431615 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431659 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431667 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431672 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431687 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431698 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431734 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431743 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>
431754 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>
431767 <p>Quality children's clothing, for every age group starting from newborn to 16 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style. </p>
431776 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>
431783 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>
431792 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>
431802 <p>Quality children's clothing, for every age group starting from newborn to 13 years offered by Fashion Kids. Made with quality material, our products are the perfect choice to keep your children cool and comfortable without missing out on style.</p>