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 (
    707, 705, 701, 697, 696, 695, 693, 682, 
    676, 673, 671, 670
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00054

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 (707,705,701,697,696,695,693,682,676,673,671,670)) 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
670 <p><span>BEDROOM CONTAINS OF BED180*200 + 2COMEDINO +DRESSER WITH MIRROR + CUPBOARD 6 SASH + BOF</span></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"><strong><span style="text-decoration: underline;"><span class="Y2IQFc" lang="en" style="font-family: arial, helvetica, sans-serif;">SIZES</span></span></strong></pre> <table style="height: 169px;" width="649"> <tbody> <tr> <td style="width: 156.508px;"><strong>UNIT</strong></td> <td style="width: 155.586px;"><strong>WIDTH SIZE</strong></td> <td style="width: 154.289px;"><strong>DEPTH SIZE</strong></td> <td style="width: 154.617px;"><strong>HEIGHT SIZE</strong></td> </tr> <tr> <td style="width: 156.508px;"><strong>Wardrobe</strong></td> <td style="width: 155.586px;"> 242 cm</td> <td style="width: 154.289px;">58 cm</td> <td style="width: 154.617px;">221 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>bed</strong></td> <td style="width: 155.586px;">214 cm</td> <td style="width: 154.289px;">220 cm</td> <td style="width: 154.617px;">148 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>DRESSER</strong></td> <td style="width: 155.586px;">160 cm</td> <td style="width: 154.289px;">50 cm</td> <td style="width: 154.617px;">90 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>COMEDINO</strong></td> <td style="width: 155.586px;">64 cm</td> <td style="width: 154.289px;">40 cm</td> <td style="width: 154.617px;">57 cm</td> </tr> </tbody> </table> <p> </p>
671 <p><span>BEDROOM CONTAINS OF BED180*200 + 2COMEDINO +DRESSER WITH MIRROR + CUPBOARD 6 SASH + BOF</span></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"><strong><span style="text-decoration: underline;"><span class="Y2IQFc" lang="en" style="font-family: arial, helvetica, sans-serif;">SIZES</span></span></strong></pre> <table style="height: 169px;" width="649"> <tbody> <tr> <td style="width: 156.508px;"><strong>UNIT</strong></td> <td style="width: 155.586px;"><strong>WIDTH SIZE</strong></td> <td style="width: 154.289px;"><strong>DEPTH SIZE</strong></td> <td style="width: 154.617px;"><strong>HEIGHT SIZE</strong></td> </tr> <tr> <td style="width: 156.508px;"><strong>Wardrobe</strong></td> <td style="width: 155.586px;"> 270 cm</td> <td style="width: 154.289px;">58 cm</td> <td style="width: 154.617px;">220 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>bed</strong></td> <td style="width: 155.586px;">221 cm</td> <td style="width: 154.289px;">325 cm</td> <td style="width: 154.617px;">133 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>DRESSER</strong></td> <td style="width: 155.586px;">161 cm</td> <td style="width: 154.289px;">51 cm</td> <td style="width: 154.617px;">85 cm</td> </tr> <tr> <td style="width: 156.508px;"><strong>COMEDINO</strong></td> <td style="width: 155.586px;">63 cm</td> <td style="width: 154.289px;">42 cm</td> <td style="width: 154.617px;">54 cm</td> </tr> </tbody> </table> <p> </p>
673 SOFA SET CONTAIN OF 2 THREE SEAT SOFA + <span>1 TWO SEAT SOFA </span>
676 <strong>DINING TABLE CONTAIN OF TABLE + 8 CHAIRS + BUFFET</strong>
682 <p><strong>DINING TABLE CONTAIN OF TABLE + 8 CHAIRS + BUFFET</strong></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"><strong><span style="text-decoration: underline;"><span class="Y2IQFc" lang="en" style="font-family: arial, helvetica, sans-serif;">SIZES</span></span></strong></pre> <table style="height: 169px;" width="649"> <tbody> <tr style="height: 27px;"> <td style="width: 156.508px; height: 27px;"><strong>UNIT</strong></td> <td style="width: 155.586px; height: 27px;"><strong>WIDTH SIZE</strong></td> <td style="width: 154.289px; height: 27px;"><strong>DEPTH SIZE</strong></td> <td style="width: 154.617px; height: 27px;"><strong>HEIGHT SIZE</strong></td> </tr> <tr style="height: 27px;"> <td style="width: 156.508px; height: 27px;"><strong>table</strong></td> <td style="width: 155.586px; height: 27px;"> 240 cm</td> <td style="width: 154.289px; height: 27px;">105 cm</td> <td style="width: 154.617px; height: 27px;">76 cm</td> </tr> <tr style="height: 27px;"> <td style="width: 156.508px; height: 27px;"><strong>chair</strong></td> <td style="width: 155.586px; height: 27px;">47 cm</td> <td style="width: 154.289px; height: 27px;">55 cm</td> <td style="width: 154.617px; height: 27px;">96 cm</td> </tr> <tr style="height: 27px;"> <td style="width: 156.508px; height: 27px;"><strong>buffet</strong></td> <td style="width: 155.586px; height: 27px;">150 cm</td> <td style="width: 154.289px; height: 27px;">38 cm</td> <td style="width: 154.617px; height: 27px;">96 cm</td> </tr> <tr style="height: 0.390625px;"> <td style="width: 156.508px; height: 0.390625px;"> </td> <td style="width: 155.586px; height: 0.390625px;"> </td> <td style="width: 154.289px; height: 0.390625px;"> </td> <td style="width: 154.617px; height: 0.390625px;"> </td> </tr> </tbody> </table> <p><span style="font-size: 8pt;">Volumes may increase or decrease slightly</span></p>
693 <p><strong>DINING TABLE CONTAIN OF TABLE + 8 CHAIRS + BUFFET</strong></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"><strong><span style="text-decoration: underline;"><span class="Y2IQFc" lang="en" style="font-family: arial, helvetica, sans-serif;">SIZES</span></span></strong></pre> <table style="height: 87px;" width="640"> <tbody> <tr style="height: 27px;"> <td style="width: 153.953px; height: 27px;"><strong>UNIT</strong></td> <td style="width: 153.406px; height: 27px;"><strong>WIDTH SIZE</strong></td> <td style="width: 152.055px; height: 27px;"><strong>DEPTH SIZE</strong></td> <td style="width: 152.586px; height: 27px;"><strong>HEIGHT SIZE</strong></td> </tr> <tr style="height: 27px;"> <td style="width: 153.953px; height: 27px;"><strong>table</strong></td> <td style="width: 153.406px; height: 27px;"> 218 cm</td> <td style="width: 152.055px; height: 27px;">106 cm</td> <td style="width: 152.586px; height: 27px;">76 cm</td> </tr> </tbody> </table> <p><span style="font-size: 8pt;">Volumes may increase or decrease slightly</span></p>
695 <p><strong>DINING TABLE CONTAIN OF TABLE + 6 CHAIRS + BUFFET</strong></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"> </pre>
696 <p><strong>DINING TABLE CONTAIN OF TABLE + 6 CHAIRS + BUFFET</strong></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"> </pre>
697 <p><strong>DINING TABLE CONTAIN OF TABLE + 6 CHAIRS </strong></p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"> </pre>
701 <span>BEDROOM CONTAINS OF : BED 180*200 CM + 2 COMEDINO + DRESSER WITH MIRROR + CUPBOARD </span>
705 <p><strong>Dining table consisting of a dining table + 6 regular chairs + 2 armchairs + a buffet</strong></p> <p> </p>
707