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 (
    10515, 10516, 10334, 10335, 10341, 10347, 
    10350, 10353, 10355, 10356, 10360, 
    10362, 10363, 10364, 10365, 10366
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00052

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 (10515,10516,10334,10335,10341,10347,10350,10353,10355,10356,10360,10362,10363,10364,10365,10366)) 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
10334 <p>10 Peices Professional Cosmetic Makeup Brushes Foundation Buffer Brush-pink</p>
10335 3D the snow king paper-based hand-made 3D scene Ice and snow palace toys
10341 <ul><li>Support Multi-Languages, Touch Big Screen, 50 Meters Waterproof We Chat, Incoming Calls and Other Message Content Directly Display</li> <li>50 Meters Swimming Waterproof Heart Rate, Sleep, Step Count, Health Management</li> <li>Up to 20 Days Battery Life New 0.78 Inch Oled Touch Screen - Well-Informed, Visible on The Wrist We Chat, Qq, Incoming Calls and Other Message Content Are Directly Displayed</li> <li>Real-Time Display of Exercise Duration, Mileage, Heart Rate and Other Data, 50 Meters Swimming Waterproof - Movement Is Always Known, All-Weather Health Management More Accurate Pedometer, Heart Rate, Sleep Quality Monitoring, Sedentary Reminder Daily Pedometer, Heart Rate Monitoring</li> <li>Sedentary Reminder</li> <li>Unlocked and More Convenient Unlocked and More Convenient Can Be Done without A Mobile Phone</li> <li>New Xiaomi Sports App - Light to 20 Grams,20 Days Long Life - One Black Screen Design, Drip-Like Smart on The Wrist</li> <li> Delivery : 2-5 Weeks Free World Wide</li> </ul>
10347 <ul class="a-unordered-list a-vertical a-spacing-none collapsedFeatureBullets"><li class="showHiddenFeatureBullets"><span class="a-list-item">Develops Good Oral Hygiene Habits from The Earliest Possible Age.</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Soft Silicone Bristles Gently Massage Sore Teething Gums</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">A-Peel-Ing Handles Are Easy for Little Hands to Hold</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Dishwasher and Freezer Friendly</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">100% Food Grade Silicone; BPA, Latex, And Phthalate Free</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Recommended for Ages 3-12 Months</span></li> </ul>
10350 <div class="centerColAlign"> <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"><span>Toy Category: Light, Sound & Music Toys</span></span></li> <li><span class="a-list-item"><span>Brand: Other</span></span></li> <li><span class="a-list-item"><span>Age: 2 Years and Above</span></span></li> <li><span class="a-list-item"><span>Develop Smart Babies Open the Puzzle Road</span></span></li> <li><span class="a-list-item"><span>Have Fun With Your Children </span></span></li> </ul></div> </div> <div class="feature"> </div> <div class="feature"> </div> </div> <div class="centerColAlign"> <div class="feature"> </div> </div>
10353 <ul><li>Brand : Huawei</li> <li>Null : CM-H2S</li> <li>Color : Blue</li> <li>Null : CM-H2S</li> <li>Connectivity : Wireless</li> <li>Compatible with : All</li> <li>Type : In Ear</li> <li>Microphone included : Yes</li> <li>Noise Cancelling : Yes</li> <li>Are batteries needed to power the product or is this product a battery : Yes</li> </ul>
10355 <ul><li><strong>Description</strong></li><li>This Original Xiaomi Smart Air Purifier 2S Is Improved with Ultra-Clear OLED Digital Display, Where Displays the Real-Time PM 2.5 Index, Temperature, Humidity, Wi Fi Link and Working Mode, Allowing You to Monitor the Air Quality of Your Home Clearly.</li><li><strong>OLED Digital Display</strong> </li><li>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 .</li><li>360-Degrees Barrel Filter for Xiaomi Air Purifier </li><li>Integrated Early Effect, Three Layers of Activated Carbon Filter </li><li>The 3-Layered Filter Removes 99.99 Percent of Pm2.5 Particles </li><li>- Filter Replacement Is Very Convenient when It Needs to Change It Will Remind Automatically </li><li>- The Suggestion of Filter Replacement Cycle Is Three to Six Months</li></ul>
10356 <ul><li><span class="a-list-item">100% Manmade</span></li> <li><span class="a-list-item">Imported</span></li> <li><span class="a-list-item">Synthetic Sole</span></li> <li><span class="a-list-item">Shaft Measures Approximately Low-Top" from Arch</span></li> <li><span class="a-list-item">Heel Measures Approximately 1.25"</span></li> <li><span class="a-list-item">Platform Measures Approximately 0.5"</span></li> <li><span class="a-list-item">Backless Slipper with Open Toe Featuring Padded Foam Footbed and Indoor/outdoor Outsole</span></li> <li>Slippers Type: Moccasin</li> </ul><div class="feature"> </div>
10360 <ul class="Generatedbullets"><li>Targeted Group : Women</li> <li>Slippers Type : Moccasin</li> <li>Brand : Y&D</li> <li>Leather Upper</li> <li>Slip-on Design</li> </ul>
10362 <ul><li><span style="font-size:10pt;">ULTRA SOFT & FLUFFY- The slippers own high density plush fleece insoles that can care for your feet and offer a ultra soft.Your feet are surrounded by the extremely cozy lining which lets you feel like walking on a cloud.It always keep perfectly fluffy which is different from other styles like this where the fur flattens down really quickly.</span></li> <li><span style="font-size:10pt;"></span></li> <li><span style="font-size:10pt;">HIGH QUALITY & DURABLE- Well made with high quality and not budging on damage or tearing.The durable rubber sole is perfect for quick walks outside like checking the mailbox and walking the dogs, and they don't make a ton of noise and wake up everyone when you walk on your hardwood floors.</span></li> <li><span style="font-size:10pt;"></span></li> <li>SATISFACTION GUARANTEE- We offer 100% no risk money-back guarantee if you're not thrilled with your purchase for any reason.Please contact us, we will help you within 24 hours and do our best to give you the most satisfactory solution.</li> </ul>
10363 <ul><li>Targeted Group : Women</li> <li>Slippers Type : Moccasin</li> <li>Brand : Y&D</li> <li>Leather Upper</li> <li>Slip-on Design</li> </ul>
10364 <ul class="Generatedbullets"><li>Targeted Group : Women</li> <li>Slippers Type : Moccasin</li> <li>Brand : Y&D</li> <li>Leather Upper</li> <li>Slip-on Design</li> </ul>
10365 <p><strong>Description:</strong></p> <p>This Hair Dryer Can Help You Have Healthy and Beautiful Hair. the Rotatable Long and Flat Airflow Gathering Mouth design Makes It Possible to Shape Your Hair According to The Way You Like. the 1800 W Rated Power is the Just Right Power to Dry Your Hair Quickly without Damage. the High Concentration Negative Ions keeps Your Hair Moisturized and Silky. </p> <p><strong>Main Features:</strong></p> <p><span>- Fashion look with gray dryer body and white handle </span><br /><span>- Large blade to make strong airflow </span><br /><span>- 3 temperature modes for you to choose </span><br /><span>- 1.7m retractable PVC power line </span><br /><span>- 220V / 50Hz voltage frequency </span><br /><span>- 1800W rated power</span></p> <p> </p>
10366 <ul><li><span>This is Huawei Honor Band 4 Standard version so it's without NFC function. CAN NOT make sure NFC version works outside of China mainland. </span></li> <li><span>FW 1.0.10.30 ver. (136). Band screen supports 8 </span><span>languages<strong> </strong>(regions) for Android/iOS</span><span></span></li> <li>APP suports multi-languages.</li> <li><span>For safe reason, you can ONLY see and pair the device in APP Huawei Health.</span></li> <li>You could reboot the band by charging it to fix bluetooth pairing problem if any.</li> <li><span><strong>Alarm: </strong>Smart vibration</span></li> <li><span><span><strong>For Bluetooth: </strong>4.2, compatible with 4.0/4.1</span></span></li> <li><span><span><strong>Swimmable: </strong>5ATM(Swim or Shower in not-hot water), show swimming time and calories</span></span></li> <li><span><strong>Strap: </strong>Streamline Texture, Skin Care, Nimble Design, Detached Without Screwdriver</span></li> </ul>
10515 <ul><li><span>There is Wi-Fi (2.4GHz only) connectivity alongside Bluetooth 4.2 LE. It also has voice control support via the Mi AI assistant.</span></li> <li><span>Magic Colors: Choose from A Tremendous Range of 16 Million Colors </span></li> <li><span>Dimmable: Adjust Color Temperature and Brightness for Suitable Light</span></li> <li><span>Color Temperature: 1700K-6500K Color Temperature Gradual Change Function</span></li> <li><span>Perfect CRI: Professional Optical Design with High-Quality Osram LED That of High Color Rendering Index </span></li> <li><span>Touch Control Design: simple touch to adjust brightness / change color / delay switch off / switch light mode as you needed</span></li> <li><span>You can still pair it with your Mi Band, which will allow the lamp to automatically turn off when the band senses that you are already asleep</span></li> </ul>
10516 <p> </p> <p><strong>Features:</strong></p> <span>Brand: Xiaomi <br />Type: Electric Kick Scooter <br />Model Number: M365 <br />For: Adults <br />Material: Aluminum Alloy <br />Color: Black,White <br />Charger type: Chinese Plug <br />Wheel Number: 2 Wheel <br />Seat Type: without Seat <br />Folding Type: Folding</span><br /><span></span>