SELECT 
  jmj_product_descriptions.product_id, 
  jmj_product_descriptions.short_description, 
  IF(
    jmj_product_descriptions.short_description = '' 
    OR jmj_product_descriptions.short_description IS NULL, 
    jmj_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  jmj_product_descriptions 
WHERE 
  jmj_product_descriptions.product_id IN (1702, 1627) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.01270

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.81"
    },
    "table": {
      "table_name": "jmj_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": 2,
      "rows_produced_per_join": 2,
      "filtered": "100.00",
      "index_condition": "((`jmj_test`.`jmj_product_descriptions`.`product_id` in (1702,1627)) and (`jmj_test`.`jmj_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "4.41",
        "eval_cost": "0.40",
        "prefix_cost": "4.81",
        "data_read_per_join": "7K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
1627 <p><span style="font-size:21px;font-weight:700;">Product DetailsĀ </span></p> <p>White and Pink colourblocked bomber jacket, has a hood, 2 pockets, zip closure, long sleeves, straight hem, and polyester lining</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a size S</p> <h4>Material & Care</h4> <p>Shell: 100% Polyester<br />Lining: 100% Polyester<br />Machine Wash</p>
1702 <p><span style="font-size:21px;font-weight:700;">Product DetailsĀ </span></p> <p>Pink polyester casual jacket<br />Hooded<br />Bomber<br />Long sleeves<br />Straight hemline<br />Polyester liningHigh Star - Product by BRND.ME</p> <h4>Size & Fit</h4> <p>Regular fit<br />The model (height 5.8') is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester<br />Machine Wash</p>