SELECT 
  q_product_descriptions.product_id, 
  q_product_descriptions.short_description, 
  IF(
    q_product_descriptions.short_description = '', 
    q_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  q_product_descriptions 
WHERE 
  q_product_descriptions.product_id IN (
    31154, 31155, 31156, 31157, 31158, 10387, 
    10388, 10389, 10390, 10391, 10392, 
    10393, 10395, 10396, 10397, 10398
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "table": {
      "table_name": "q_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": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (31154,31155,31156,31157,31158,10387,10388,10389,10390,10391,10392,10393,10395,10396,10397,10398)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
10387 Xiaomi Smart Watch Silicone Band For Android & Ios, Black - Amazfit
10388 English Version Original Xiaomi Huami Watch Amazfit Pace Bluetooth 4.0 Sports Smart Watch Zirconia Ceramics Heart Rate Monitor & Gps
10389 Xiaomi Mi Mijia Laser Projector 5000 Lumens Android 6.0 Alpd 3.0 4K Dmd Luetooth Prejector Up To 150 Inched Display Size - White
10390 Xiaomi Smart Home Aqara Human Motion Sensor
10391 Xiaomi Aqara Water Leak Sensor
10392 Xiaomi Mi Bluetooth Speaker Basic 2 Bluetooth 4.2 - White
10393 Xiaomi Mi Air Purifier 2S Sterilizer Addition To Formaldehyde Cleaning Intelligent Household Hepa Filter Smart App Wifi Rc - Chinese Edition
10395 Xiaomi Smart Watch Silicone Band For Android & Ios,Black - A1619
10396 Xiaomi Amazfit Stratos Pace 2 Smartwatch With Heart Rate, Activity Tracking, Water Resistance - Black
10397 Xiaomi Amazfit Bip Smartwatch Youth Edition - Obsidian Black
10398 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Closed-Back Headphones</li> <li class="jsx-1889249662">Minimalistic Design</li> <li class="jsx-1889249662">Uncompromised Comfort</li> <li class="jsx-1889249662">Intuitive Ear Cup Control</li> <li class="jsx-1889249662">Color: White</li> <li class="jsx-1889249662">Product Weight: 220 g</li> <li class="jsx-1889249662">Frequency Range: 20-40000 Hz</li> <li class="jsx-1889249662">Sensitivity: 107 db</li> <li class="jsx-1889249662">Headphone Type: Over Ear</li> <li class="jsx-1889249662">Plug Type: 3.5 m</li> </ul>
31154 Handmade Hanging Heart Gift For Teacher Leaving Present Thank You Gifts
31155 <span>100% brand new and high quality.</span><br /><br /><span>Quantity: 1 set</span><br /><br /><span>Brand new replacement accessories kit for irobot 600 610 620 650 series</span><br /><br /><span>Made of high-strength and environmental protection material</span><br /><br /><span>Compatible for irobot vacuum cleaner</span><br /><br /><span>Material:Plastic</span>
31156 <span>Material: Carbon Steel</span><br /><br /><span>Color: As Shown</span><br /><br /><span>Name: Carbon steel grilled chicken plate</span><br /><br /><span>Weight: 171g</span><br /><br /><span>Size: 17CM * 19CM</span><br /><br /><span>Color: outside the red inside the black</span><br /><br /><span>Material: Carbon Steel + Non-stick (non-stick)</span>
31157 12 Bags Of Dried Lavender In Small Lilac Organza Bags -Real Flower Wedding
31158 2Pcs Cake Pan Strips Bake Even Strip Belt Bake Even Moist Level Cake Baking Tool