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 (636, 624, 616, 210, 197, 155, 51) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.91"
    },
    "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": 7,
      "rows_produced_per_join": 7,
      "filtered": "100.00",
      "index_condition": "((`betaatif_store`.`cscart_product_descriptions`.`product_id` in (636,624,616,210,197,155,51)) and (`betaatif_store`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "4.21",
        "eval_cost": "0.70",
        "prefix_cost": "4.91",
        "data_read_per_join": "26K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
51 <p><strong>SOFA SET CONTAIN OF:  2 THREE SEAT SOFA + 1 TWO SEAT SOFA</strong></p> <p><strong>THREE SEAT SOFA: LENGTH 100 * WIDTH 250 * HEIGHT 100 CM</strong></p> <p><strong>TWO SEAT SOFA : LENGTH 100 * WIDTH 180 * HEIGHT 100 CM</strong></p>
155 SOFA SET CONTAIN OF 1 THREE SEAT SOFA + 2 TWO SEAT SOFA
197 <p>SOFA SET CONTAIN OF 1 THREE SEAT SOFA + 2 TWO SEAT SOFA </p>
210 <p>SOFA SET CONTAIN OF 1 THREE SEAT SOFA + 2 TWO SEAT SOFA </p>
616 <p> SOFA SET CONTAIN OF 2 THREE SEAT SOFA + 2 CHAIRS </p> <pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="الترجمة"> </pre>
624 <div class="container-fluid-row"> <div class="row-fluid "> <div class="span16 main-content-grid ut2-bottom"> <div class=" cm-warehouse-block-depends-by-location "> <div class="ut2-pb ty-product-block ty-product-detail ut2-big-image "> <div class="ut2-pb__wrapper clearfix"> <div class="ut2-pb__tabs-wrapper"> <div id="tabs_content" class="cm-tabs-content ty-tabs__content clearfix"> <div id="content_description" class="ty-wysiwyg-content content-description" data-ab-smc-tab-hide="N|N|N" data-ab-smc-more="More" data-ab-smc-less="Less" data-ab-smc-height="250" data-ab-smc-tab-override-h="N"> <div> <p>SOFA SET CONTAIN OF 1 THREE SEAT SOFA + 2 TWO SEAT SOFA </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="container-fluid-row container-fluid-row-full-width fill--gray"> <div class="row-fluid "> <div class="span16 ut2-top-bottom"> <div class="row-fluid "> <div class="span16 "> <div class="ty-tabs cm-j-tabs cm-j-tabs-disable-convertation clearfix"> </div> </div> </div> </div> </div> </div>
636 <div class="container-fluid-row"> <div class="row-fluid "> <div class="span16 main-content-grid ut2-bottom"> <div class=" cm-warehouse-block-depends-by-location "> <div class="ut2-pb ty-product-block ty-product-detail ut2-big-image "> <div class="ut2-pb__wrapper clearfix"> <div class="ut2-pb__tabs-wrapper"> <div id="tabs_content" class="cm-tabs-content ty-tabs__content clearfix"> <div id="content_description" class="ty-wysiwyg-content content-description" data-ab-smc-tab-hide="N|N|N" data-ab-smc-more="More" data-ab-smc-less="Less" data-ab-smc-height="250" data-ab-smc-tab-override-h="N"> <div> <p>SOFA SET CONTAIN OF 2 THREE SEAT SOFA + 1 TWO SEAT SOFA</p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div>