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 (
    10464, 10465, 10466, 10467, 10468, 10469, 
    10470, 10471, 10473, 10474, 10476, 
    10477, 10478, 10479, 10480, 10481
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00363

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 (10464,10465,10466,10467,10468,10469,10470,10471,10473,10474,10476,10477,10478,10479,10480,10481)) 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
10464 <span>Xiaomi in ear headphone is custom-built to reproduce crystal clear audio without any distortion. Delivering premium audio quality and comfortable wearing experience for extended hours are the Xiaomi Piston Basic Edition In-ear Earphones. They feature an optimized audio cavity made from aluminum alloy with precise metal anodizing technology for exceptional sound qualityhea</span>
10465 <p><strong>Aluminum Alloy Sound Chamber Crafted to Precision</strong><br />The Aluminum Alloy Sound Chamber Is Anodised to Protect Against Corrosion and Has Gone Through Zircon Sand Blasting to Make It Scratch and Slip Resistant. Delicate Details Like the Chamfered Edge Feels Smooth in Hand and Adds an Elegant Touch.</p> <p><strong>Improved 3rd Gen Balanced Damping</strong><br />Uniquely Designed, the 3rd Generation Balanced Damping System Enhances Sound and Air Flow. It Separates Air Flow at The Front of The Chamber and Lets Sound Through the Back to Create a Mellow and Transparent Sound.</p> <p><strong>Press for Play</strong><br />Pause, Play, Answer and Hang up Calls Conveniently with A Simple Press of A Button. Compatible with Mi Phones, Android, and I Os Devices.</p> <p><strong>Ergonomically Designed to Fit the Contours of Your Ear</strong><br />Backed by extensive research, the main body is ergonomically angled to fit your ear canal for longlasting comfort. This anti-slip design also prevents it from dropping out easily, even when you embark on long music journeys.</p>
10466 <ul><li><span>Clear OLED screen displays the real-time PM 2.5 index, temperature, humidity, WiFi link and working mode, which enables you to monitor the air quality of your home easily </span></li> <li><span>- 360-degrees barrel filter for Xiaomi Air Purifier </span></li> <li><span>- Integrated early effect, three layers of activated carbon filter </span></li> <li><span>- The 3-layered filter removes 99.99 percent of PM2.5 particles </span></li> <li><span>- Filter replacement is very convenient when it needs to change it will remind automatically </span></li> <li><span>- The suggestion of filter replacement cycle is three to six months </span></li> </ul>
10467 <ul><li><span>Model: AC-M4-AA </span></li> <li><span>Purification capacity: 310 cubic meters per hour </span></li> <li><span>Purification area: 21 - 37sq.m </span></li> <li><span>Rated power: 29W </span></li> <li><span>Standby power: 2W </span></li> <li><span>Rated input: AC 100 - 240V </span></li> <li><span>Rated output: DC 24V </span></li> <li><span>Rated frequency: 50 / 60Hz </span></li> <li><span>Product dimension: 24 x 24 x 52cm </span></li> <li>Weight: 4.5kg ( filter included )</li> </ul>
10468 <ul><li><span>Product Name : Xiaomi Mijia bluetooth wireless temperature and humidity sensor</span></li> <li><span>Product mode: lLYWSDCGQ/01ZM</span></li> <li><span>The product weight: 43 g</span></li> <li><span>The screen size: 1.78 inch</span></li> <li><span>The temperature range: -9.9 ℃ ~ 60 ℃</span></li> <li><span>Humidity range: 0 ~ 99.9%</span></li> <li><span>Rated power: 0.18 mW</span></li> </ul>
10469 <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">Cell Type: 10000mAh Mi Power Bank Pro</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Color : Grey</span></li> <li><span class="a-list-item">Type : Wired Power Bank</span></li> <li><span class="a-list-item">Compatible Devices : Multi</span></li> <li><span class="a-list-item">Number of Charging Ports : 1</span></li> </ul>
10470 <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 : Security Cameras</span></li> <li><span class="a-list-item">Are batteries needed to power the product or is this product a battery : No</span></li> <li><span class="a-list-item">Is this a Dangerous Good or a Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or disposal? : No</span></li> <li><span class="a-list-item">External Product ID Type : EAN-13</span></li> </ul>
10471 <ul class="generatedBullets"><li>Compatible with : Mobile Phones</li> <li>Brand : null</li> <li>Type : Car Chargers</li> </ul>
10473 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Real-time Transmission: The built-in phone holder of the transmitter facilitates WiFi FPV function. Also the max to 3km superior long control distance ensures the good performance.</span></li> <li><span class="a-list-item">Pointing Flight / Tap to Fly: Order your mi drone to where you pointed in the map.</span></li> <li><span class="a-list-item">Surrounded Flight: Pick what you wanna record or photography 360 degrees and let your Mi 4K Drone surround it</span></li> <li><span class="a-list-item">Route Planning: Plan and preset your flight line and get yourself a more smooth / high quality work of art.</span></li> </ul>
10474 <ul><li>Fashion look with gray dryer body and white handle</li> <li> Large blade to make strong and natural airflow</li> <li> Strong double negative ions for smoother and shinning hair</li> <li> Anti burnt nozzle design</li> <li>3 Temperature modes for you to choose: Normal</li> <li>quick, Natural- 1.7m retractable PVC power line- 1800 W rated power </li> <li>less time to blow and better protect hair- 2 Pin Plug- Designed in Japan</li> </ul>
10476 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Manufacturer Number : zbw4431cn</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Color : Blue</span></li> <li><span class="a-list-item">Model Number : 838CD80Y403KS</span></li> <li><span class="a-list-item">Connectivity : Wireless</span></li> <li><span class="a-list-item">Compatible with : Mobile Phones</span></li> <li><span class="a-list-item">Type : In Ear</span></li> </ul>
10477 <ul><li><span> 95Ra: 240pcs OSRAM LEDs of high CRI provides museum lighting effect</span></li> <li><span> Cozy Moonlight: the moonlight mode offers warm and cozy lighting</span></li> <li><span> IP60 Dustproof: protects it from dust, and could get rid of the pesky insects </span></li> <li><span> Dual-chip Three-way Dimming System: color temperature range from 2700K to 6500K</span></li> <li><span>5min Fast Installation: innovative coupler module for quick assemble and disassemble</span></li> </ul>
10478 <span>Brand: Xiaomi</span><br /><span>Color: White</span><br /><span>Print performance:</span><br /><span>Printing Technology: Heat Sublimation Printing</span><br /><span>Print resolution: 300 x 300dpi</span><br /><span>Print color scale: 256 levels per color</span><br /><span>Print size: 100 x 148mm (6 inches)</span><br /><span>Printing speed: about 58s / piece</span><br /><span>Photo capacity: 20 pieces of photo paper (photo paper NOT included)</span><br /><span>Ribbon capacity: 40 photos for 1 ribbon (ribbon NOT included)</span><br /><span>Supported file format: JPEG, PNG</span>
10479 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Display Resolution: 4K</span></li> <li><span class="a-list-item">Smart Ultra-short Range Laser Projector 150 Inch Intelligent Home Application TV</span></li> <li><span class="a-list-item">International Version</span></li> <li><span class="a-list-item">Brand: Xiaomi</span></li> <li><span class="a-list-item">Type: SXRD</span></li> </ul>
10480 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Bluetooth Support</span></li> <li><span class="a-list-item">Aux Input Support</span></li> <li><span class="a-list-item">Hands Free Support</span></li> </ul>
10481 <strong>Main Features:</strong><br /><span>● Designed and crafted from quality materials</span><br /><span>● Comes with a 2K fast switch screen and over 1000 optimized games</span><br /><span>● A wireless device and saves you the trouble of complex cable connections </span><br /><span>● Adopts custom VR dedicated fast-switch ultra-clear screen with a display resolution of 2560 x 1440</span><br /><span>● With its new anti-vertigo lens design, medical lens accessories and fast switch technology, prevent you dizziness during usage </span><br /><span>● Equipped with a 3.5mm headphone jack which is user-friendly for third-party connection to headphones </span><br /><span>● Supports 3DoF, and comes with a motion controller, which also supports 3DoF </span><br /><span>● Built-in 360-degree sound capability</span>