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 (
    10482, 10483, 10485, 10486, 10487, 10488, 
    10489, 10490, 10491, 10492, 10493, 
    10494, 10495, 10496, 10497, 10498
  ) 
  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 (10482,10483,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498)) 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
10482 <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">Number of Charging Ports : 2</span></li> <li><span class="a-list-item">Compatible Devices : Multi</span></li> <li><span class="a-list-item">Capacity : 20000mAh & Above</span></li> <li><span class="a-list-item">Type : Wired Power Bank</span></li> </ul>
10483 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Category : Go-Carts</span></li> <li><span class="a-list-item">Targeted Group : Unisex</span></li> <li><span class="a-list-item">Recommended Age : 12 Years & Up</span></li> <li><span class="a-list-item">Brand : Ninebot</span></li> <li><span class="a-list-item">Color Family : White</span></li> <li><span class="a-list-item">Tire Type: airless hollow tire</span></li> <li><span class="a-list-item">IP Waterproof Rating: ipx4</span></li> </ul>
10485 <br /><span>● Display the time, date, walking steps, distance, and calories clearly. Let you know your sports data immediately</span><br /><br /><span>● 0.78-inch OLED high-resolution display</span><br /><br /><span>● HRM heart rate monitor function will give you real-time feedback, let you know about your heart rate anytime and anywhere</span><br /><br /><span>● When you are sitting for a longer time than the preset duration, the watch would remind you with vibration or a ring that it's time for exercise</span><br /><br /><span>● Setting the alarm clock on the phone, the watch will remind you with vibration</span><br /><br /><span>● Master your exercise and calories consumption at any time and anywhere, monitoring your raining status at any time</span><br /><br /><span>● Are you curious about your sleep quality? sleep monitor function will give you the answer</span>
10486 <ul><li><span style="font-family:Arial, Verdana;"><span>Xiaomi Bluetooth V4.1 handsfree earphone </span></span></li> <li><span style="font-family:Arial, Verdana;"><span>Advanced CSR 8610 chipset</span></span></li> <li><span style="font-family:Arial, Verdana;"><span>6.5g ultra lightweight</span></span></li> <li><span style="font-family:Arial, Verdana;"><span>Oil resistant coating technology</span></span></li> <li><span style="font-family:Arial, Verdana;"><span>In ear style, very convenient when driving and doing sports</span></span></li> <li><span style="font-family:Arial, Verdana;"><span>One buttom control to reach, reject phone calls or dailing back</span></span></li> <li><span style="font-family:Arial, Verdana;"><span>Suitable for all Bluetooth enabled devices</span></span></li> </ul>
10487 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Microphone included : Yes</span></li> <li><span class="a-list-item">Noise Cancelling : Yes</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Connectivity : Wireless</span></li> <li><span class="a-list-item">Model Number : LYXQEJ01JY</span></li> </ul>
10488 <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">Color : Black</span></li> <li><span class="a-list-item">RAM Size : Less Than 128 MB</span></li> <li><span class="a-list-item">Operating System : Android</span></li> <li><span class="a-list-item">SIM card support : No</span></li> <li><span class="a-list-item">With Camera : No</span></li> <li><span class="a-list-item">Band Material : Silicone</span></li> </ul>
10489 <p><span>Track your activity throughout the day and night with the Xiaomi Mi Band 2 that has an OLED display and heart rate monitor. </span></p> <p><span>Skin friendly, stylish, and always by your side, this fitness tracking band makes fitness a lifestyle</span></p>
10490 <ul><li><span> Adopt silicone material, drop resistance and shockproof</span></li> <li><span>Compact size and light weight, portable and easy to carry </span></li> <li><span>Intelligent circuit cutting, avoid overcharging, protect phone battery</span></li> <li><span>Input: 9V / 1.6A DC 5V / 2A</span></li> <li><span>Output: 5V / 5W 9V / 10W</span></li> <li><span> LED indicator light shows the working state at the real time</span></li> <li><span>Compatible with iPhone XS / XR / XS MAX</span></li> </ul>
10491 <div><span>Color:White</span></div> <div><span>Input Power:5V/2A</span></div> <div><span>Output Power: 5V/1A</span></div> <div><span>Input(Max,Fast charge): 9V/2A</span></div> <div><span>Output(Max,Fast charge): 9V/1A</span></div> <div><span>Size: R=47mm,D=12.44mm</span></div> <div><span>Shell Material: PC + Silicone</span></div> <div><span>Two Charging models: 5W nomal charging and 7.5W quick charging</span></div> <div><span>Quick charging only for Xiaomi MIX 2S</span></div> <div><span>Nomal charging for all Qi Wireless Charging Standard Device</span></div>
10492 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Elegant touch - the aluminum sound chamber is anodized for a sleek finish and features an engraved CD-like pattern to prevent it from slipping. The chamfered edge feels smooth in hand and adds an elegant touch. It comes with two additional earbud sizes (S / L).</span></li> <li><span class="a-list-item">Balanced and solid sound - The diaphragm uses a combination of aerospace-grade metal and PET to enhance the music experience. Tuned and optimised across popular music genres including pop, rock, dance and more.</span></li> <li><span class="a-list-item">Enhanced sound and air flow - the 3rd generation balanced damping system separates air flow at the front of the chamber and lets sound through the back to create a mellow sound.</span></li> <li><span class="a-list-item">Fashionable and durable flat cable - designed with an inner cable wrapped in Kevlar, the cable is resistant to bends and tangles. At the same time, it has a smooth finishing, outer lined with PET.</span></li> <li><span class="a-list-item">Highly compatible - Pause, play, answer and hang up calls conveniently with a simple press of a button. Compatible with Mi phones, Android and iOS devices.</span></li> </ul>
10493 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">This is China Version only. The QR code on the cord for product authenticity is not work in US. If you concern about the authenticity, please contact the seller for the instruction.</span></li> <li><span class="a-list-item">Hybrid triple drivers technology,a richer music experience,Hi-Res Audio certificate. Dual dynamic and balanced armature units, more musical detail, 25 step to build metal sound chamber.</span></li> <li><span class="a-list-item">Durable, break-resistant TPE resilience cable,no wire bending problem.</span></li> <li><span class="a-list-item">New comfortable and anti-slip angled in-ear design,quality silicone ear buds available in size XS/S/M/L,M size on the earphone</span></li> <li><span class="a-list-item">All CNC and anodizing metal chamber and in-line controller. Volume control DO NOT support i/OS phone except Play,Answer and Switch functions</span></li> </ul>
10494 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Light Type : Night Lights</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Touch Control </span></li> <li><span class="a-list-item">App Control </span></li> <li><span class="a-list-item">weight: 684g</span></li> <li><span class="a-list-item">Rated Power:100W</span></li> </ul>
10495 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">✔️Flicker-free pleasant lighting-Patented optical design, let the natural light cover your desk.</span></li> <li><span class="a-list-item">✔️4 lighting modes for your choice-Focus mode, read mode, PC mode and kid mode fulfill every need of yours.</span></li> <li><span class="a-list-item">✔️Not too dark, not too bright, just as you like-Brightness and color temperature stepless adjustment (an accuracy of 1K or 1pct).</span></li> <li><span class="a-list-item">✔️App remote control-Search "Mi Smart Home" in the "App Store" or "Google Play" to download the APP and connect your device, then start your Mi smart life.</span></li> <li><span class="a-list-item">✔️Minimalist design with long-term durability-Clean and sleek appearance, precise spindle, efficient heat dissipation, never stop discovery</span></li> </ul>
10496 <p><span>Is Batteries Required:Yes </span></p> <p><span>Certification:CCC </span></p> <p><span>Brand Name:Xiaomi </span></p> <p><span>Power Generation:Light </span></p> <p><span>Power Source:Dry Battery </span></p> <p><span>Body Material:ABS Is </span></p> <p><span>Bulbs Included:Yes </span></p> <p><span>Type:Night Light </span></p> <p><span>Model Number:MJYD01YL </span></p> <p><span>Wattage:0-5W </span></p> <p><span>Usage:Emergency </span></p> <p><span>Battery Type:AA </span></p> <p><span>Voltage:DC 4.5V </span></p> <p><span>Light Source:LED Bulbs </span></p> <p><span>Features:Remote Control</span></p>
10497 <span>Xiaomi Portable Flashlight is a practical flashlight, featuring with its portable design.  Its premium aluminum alloy body provides a long service life for you. Coming with the max brightness, it gives you the max convenience. </span><br />With its mini size, Xiaomi Portable Flashlight weighs only 0.103kg, which is protable for you to bring it outside.<span>Its max brightness is 240 lumens, meeting your needs of night camping, running, observation or exploration perfectly.</span>
10498 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Light Type : Night Lights</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">Touch Control </span></li> <li><span class="a-list-item">App Control </span></li> <li><span class="a-list-item">weight: 684g</span></li> <li><span class="a-list-item">Rated Power:100W</span></li> </ul>