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 (
    507, 497, 492, 489, 486, 482, 455, 453, 
    452, 451, 450, 449
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.41"
    },
    "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": 12,
      "rows_produced_per_join": 12,
      "filtered": "100.00",
      "index_condition": "((`betaatif_store`.`cscart_product_descriptions`.`product_id` in (507,497,492,489,486,482,455,453,452,451,450,449)) and (`betaatif_store`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "7.21",
        "eval_cost": "1.20",
        "prefix_cost": "8.41",
        "data_read_per_join": "45K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
449 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
450 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
451 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
452 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
453 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
455 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
482 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
486 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
489 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
492 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
497 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>
507 <p>This collection allows you to feel the originality through the exquisite designs and the soft yarns of attractive colors that combine the touch of life and the feeling of luxury for any home. Manufactured from thick, soft and heat-resistant 100% polypropylene yarn, this range helps provide floor coverings that are easy to maintain, clean and also stain resistant.<br /><br /><strong>important note:</strong><br /><br />The digital images shown are ultra-accurate colors that represent the look or feel of the actual rug, but some slight differences in color tones may appear when comparing digital images and the actual product and this is beyond our responsibility as it is due to different computer monitors displaying the images.</p>