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 (
    10415, 10416, 10417, 10418, 10419, 10420, 
    10421, 10422, 10423, 10424, 10425, 
    10426, 10427, 10428, 10429, 10431
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00048

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 (10415,10416,10417,10418,10419,10420,10421,10422,10423,10424,10425,10426,10427,10428,10429,10431)) 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
10415 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Type : DVRs</span></li> <li><span class="a-list-item">Screen Size : 3 - 3.9 Inch</span></li> <li><span class="a-list-item">Resolution : 1920x1080</span></li> <li><span class="a-list-item">Auxiliary : No</span></li> </ul>
10416 <ul><li>X<span>WiFi enables thermostat allows for remote access via smartphone, tablet or computer</span></li> <li><span>Via Mi app to open humidifier when indoor humidity is too low and open air-conditioner when indoor temperature is too high</span></li> <li><span>LED digital display, you can get temperature, humidity and battery power easily</span></li> <li><span>Built-in advanced temperature and humidity sensor, temperature accuracy: 0.1 degrees, humidity accuracy: 0.1 percent RH</span></li> <li><span>Battery powered, 1 AAA battery needed and included</span></li> </ul>
10417 <ul class="cegg-feature-list"><li>Brand: Xiaomi</li> <li>Product weight: 0.1130 kg</li> <li>Package weight: 0.3290 kg</li> <li>Product size (L x W x H): 18.75 x 2.85 x 2.85 cm / 7.38 x 1.12 x 1.12 inches</li> <li>Package size (L x W x H): 21.10 x 13.50 x 4.25 cm / 8.31 x 5.31 x 1.67 inches</li> </ul>
10418 <div class="feature"> <div class="a-section a-spacing-medium a-spacing-top-small"> <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">New Version - Xiaomi WiFi Extender has built-in 2 antennas, transmission rate could up to 300Mbps</span></li> <li><span class="a-list-item">Xiaomi WiFi Amplifier has 180° rotation USB interface, easy to find best direction to place</span></li> <li><span class="a-list-item">WiFi Booster Xiaomi could be compatible with most routers, it is easy to set up and pair</span></li> <li><span class="a-list-item">USB WiFi Extender Xiaomi could support multi-level cascade (Or multiple connections at the same level), unlimited number of specific. But too much cascade will seriously affect the speed</span></li> <li><span class="a-list-item">NOTE: Xiaomi wifi amplifier (including pro) does not support connecting a passwordless router or a passwordless public wifi signal to ensure device security.</span></li> </ul></div> </div> <div class="feature"> </div> <div class="feature"> </div> <div> </div>
10419 <ul><li><span style="font-size:12pt;">Original Xiaomi Music Alarm Clock </span></li> <li><span style="font-size:12pt;">Wireless Bluetooth </span></li> <li><span style="font-size:12pt;">Portable Speaker</span></li> <li><span style="font-size:12pt;"> Led Digital Clock Wake </span></li> <li><span style="font-size:12pt;">Android Control</span></li> </ul>
10420 <ul><li>Xiaomi Cleaner Swdk-D260</li> <li>Handheld Wireless</li> <li>Electric Wiper</li> <li>Floor Washers</li> <li>Wet Mopping</li> <li>Smart Homesupplies</li> </ul>
10421 <span>Mi Air Purifier Pro is a culmination of the entire previous purification tech Xiaomi did into one easy to use product. It will make your home healthier as it holds a high-precision laser to detect the smallest pollutants, boards one of the sharpest OLED displays you have ever seen, has one of the best Clear Air Delivery Rate (CADR) scores, and on top of that it can clean the air in rooms up to 60m²</span>
10422 Xiaomi Mi Air Purifier 2S Sterilizer Addition To Formaldehyde Cleaning Intelligent Household
10423 <ul><li><span>High light-transmission PC lampshade presents you the most realistic lighting</span> </li> <li><span>Clockwise and counterclockwise rotating to sleeplessly adjust the light , easy to operate</span></li> <li><span>Easy and convenient charging via Micro USB interface, long standby at "ON" mode under the maximum brightness of 6 hours of life</span></li> <li><span>High-quality light beads with 1800K color temperature gives out healthy and warm light</span></li> <li><span>Bluetooth connection adapter Yeelight APP, multi-lamp interconnection, editing group, control switch, brightness adjustable</span></li> <li><span>Built-in 2100mAh rechargeable battery, repowered via common USB cable</span></li> </ul>
10424 <ul><li>10W E27 Led Light</li> <li>Rechargeable Night Light</li> <li>Globe Light Bulb Warm</li> <li>White To Daywhite Ac100-240V Led Buibs</li> </ul>
10425 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Light Type : Decorative Lights</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Length : 200cm</span></li> <li><span class="a-list-item">Feature : Smart LED strip controlled by App</span></li> <li><span class="a-list-item">Plug Type : US 2 Pin Plug </span></li> </ul>
10426 Xiaomi Wall Power Strip 3 Usb Charger 2A And 3.1 Total 3 Child Protection Plug Up To 2500 Watt - White
10427 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accurate body composition statistics - In addition to body weight, Mi Body Composition Scale provides 10 precise data points (body composition statistics) that gives you a realistic picture of your health and fitness, including BMI, body mass, muscle mass, etc.</span></li> <li><span class="a-list-item">High-precision accuracy - a series of complex algorithms and advanced Bioelectrical Impedance Analysis (BIA) were used to provide accurate statistics to help you understand your body better</span></li> <li><span class="a-list-item">Mi Fit app stores and tracks all your health data in one place - Mi Body Composition Scale syncs your data to Mi Fit app so that you can see all your health data in one easy-to-read graph, making it easier to track your progress and take control of your daily activities.</span></li> <li><span class="a-list-item">Store up to 16 user profiles - Mi Body Composition Scale automatically identifies each family member and can store up to 16 user profiles. Utlising low-energy Bluetooth 4.0 technology, the Scale will operate up to 8 months using just 4 standard AAA batteries.</span></li> <li><span class="a-list-item">Personal planner with complete training programme - Mi Fit App keeps a track of different characteristics of your body composition, such as body weight, fat percentage, body water percentage and more, to provide you with a complete training programme.</span></li> </ul>
10428 Xiaomi Yeelight Smart Lights Indoor Bed Bedside Lamp 16 Million Rgb Lights Touch Control Bluetooth For Mijia App
10429 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Capacity:1.5L</span></li> <li><span class="a-list-item">rated frequency: 50Hz</span></li> <li><span class="a-list-item">Rated voltage: 220V</span></li> <li><span class="a-list-item">Rated power: 1800W</span></li> <li><span class="a-list-item">Bluetooth 4.0 BLE</span></li> <li><span class="a-list-item">White.</span></li> </ul>
10431 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Capacity:1.5L</span></li> <li><span class="a-list-item">rated frequency: 50Hz</span></li> <li><span class="a-list-item">Rated voltage: 220V</span></li> <li><span class="a-list-item">Rated power: 1800W</span></li> <li><span class="a-list-item">Bluetooth 4.0 BLE</span></li> <li><span class="a-list-item">White.</span></li> </ul>