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 (
    8227, 8228, 8229, 8230, 8231, 4579, 4580, 
    4581, 4582, 4583, 4584, 3341, 3342, 
    3343, 3344, 3345
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00055

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 (8227,8228,8229,8230,8231,4579,4580,4581,4582,4583,4584,3341,3342,3343,3344,3345)) 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
3341 <ul><li>Description:Manufacturer Number : MIDRIVE D02 </li><li>Auxiliary : No </li><li>External Product ID : 6971669782115 </li><li>Brand : XIAOMI </li><li>Type : Dashboard Camera </li><li>Screen Size : 2 - 2.9 Inch </li><li>External Product ID Type : EAN-13 </li><li>Resolution : 2592x1944</li></ul>
3342 <ul><li><span class="redactor-selection-marker"></span>DESCRIPTION:Features:Remote Control,Flashing</li><li>Model Number:Xiaomi Yeelight Bedside Lamp</li><li>Brand Name:Xiaomi</li><li>Control Channels:2 Channels</li><li>State of Assembly:Ready-to-Go</li><li>Gyro:Smart Night Lights</li><li>Max Speed:Xiaomi Bedside</li><li>Scale:1:5<span class="redactor-selection-marker"></span></li></ul>
3343 <ul><li>PRODUCT DESCRIPTION</li><li>Note: Only can be used in indoor places (not waterproof)</li><li>Specification:</li><li>Model: MJYD01YL</li><li>Size: 84 * 84 * 36mm</li><li>Net weight: about 141g</li><li>Color temperature: 2700K</li><li>Brightness: low 0.7lm, high-grade 3.8lm</li><li>Sensor: body infrared and light perception</li><li>Rated power: 0.25w</li><li>Operating temperature: -10 - + 40 ¡æ</li><li>Battery Model: AA batteries (3)</li><li>Package Included:</li><li>1 x MI Motion Sensor Night light</li><li>3 x AA batteries</li><li>1 x User Manual</li><li>Brand : Xiaomi</li><li>Color : Yellow</li><li>Light Type : Night Lights</li></ul>
3344 <ul><li>Description:Max Speed:Yeelight Candela</li><li>Control Channels:2 Channels</li><li>Model Number:Xiaomi Yeelight Bedside Lamp</li><li>Scale:1:5</li><li>Brand Name:Xiaomi</li><li>State of Assembly:Ready-To-Go</li><li>Features:Flashing</li><li>Features:Remote Control</li></ul>
3345 <ul><li>DESCRIPTION:Brand : Xiaomi</li><li>Type : LED Bulb</li><li>Shape : Ellipsoidal</li><li>Wattage : 10 Watt</li><li>Bulb Color : Multi Color</li><li>Luminous Flux: 800lm</li><li>Color Temperature: 1700K-6500K</li><li>Life Expectancy: Approx. 25,000 hours</li><li>Connectivity£ºWi-Fi IEEE 802.11 b/g/n 2.4GHz</li><li>Rated Input£º100V-240V~50/60Hz</li><li>Multitude Colors Countless Possibilities</li><li>Change the mood with your voice-enabled device or phone</li><li>Save Energy and Money</li></ul>
4579 <ul><li>DESCRIPTION:Brand : Xiaomi</li><li>Package weight in KGs : 6.6Kg</li><li>Model Number : SDJQR01RR</li><li>Energy consumption : 55W</li><li>Type : Robotic Vacuum Cleaners</li><li>Color : White</li><li>Surface Type : Multi Surface</li><li>Tank Capacity : 450 ml</li><li>External Product ID Type : EAN-13</li><li>Bagged or Bagless : Bagless</li><li>Cordless or Corded : Cordless</li><li>Battery: 2.5 hours</li><li>Schedule Cleaning: Yes</li><li>Xiaomi robot vacuum cleaner uses its impressive simultaneous localization and mapping (SLAM) algorithm to map the optimal cleaning path around a room avoiding, obstacles, and hazards such as stairs.</li><li>APP Remote Control</li><li>High Sensitivity and Precision Sensor System</li><li>1800Pa Powerful Suction</li><li>5200mAh High-Capacity Battery</li><li>Three separate processors simulate the way of the human brain thinks</li><li>Automatic Self-recharge Function</li><li>Using the wall sensor, the robot keeps a distance of 10 mm from walls and effectively cleans the edges with the side brush</li><li>Brand : Xiaomi</li><li>Color : White</li><li>Energy consumption : 55W</li><li>Package weight in KGs : 6.6Kg</li><li>Tank Capacity : 450 ml</li><li>Bagged or Bagless : Bagless</li><li>Cordless or Corded : Cordless</li><li>Model Number : SDJQR01RR</li><li>Type : Robotic Vacuum Cleaners</li><li>Surface Type : Multi Surface</li><li>Are batteries needed to power the product or is this product a battery : Yes</li><li>Is this a Dangerous Good or a Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or disposal? : No</li></ul>
4580 <p>DESCRIPTION:App Smart Control: Use Mi Home App to start, stop, schedule, customize, self-charge, sweepa spot, check accessory status and control moving direction. 2.4GHz Wi-Fi required, compatible with Android, IOS and Alexa.<br />High-Efficiency and Intelligence: Dual-gyro system and motion tracking sensors monitor movingdirection and cleaning session, planning a methodical cleaning path to coverthe whole floor. 13 sensors support anti-drop, anti-collision and jam-resistant,<br />Thorough Clean Performance: Enhanced 1800Pa strong suction intensely sucks up particles,debris and other dirt into the super-size dust box which reduces the frequencyto empty the dust box.<br />Sweeping and Mopping: Equipped with a water tank and mop cloth, work once but bring youan entire clean. The water tank ensures a steady seepage when the robotic vacuum is moving but no water stain at rest, protecting your floor.<br />Automatic Carpet Mode: This E20 robot vacuum can identify the carpet and switch to the maximum suction to suck up dirt wherever it hides.<br />1. Intelligent and Flexible<br />Afull suite of sensors indicate more intelligence when tackling complicated cleaning environment. No need to worry about falling down from stairs, being stuckand charging.<br />2. Methodical Clean<br />Dual-gyroscopesystem and high-precision optical tracking sensors support the robot vacuum toclean in a Z-shape way, and then along the edge, clean the whole house.<br />3. Automatic self-charging<br />Thedock charger emits infrared to let E20 to go back quickly when the robot need charging. Note:Please place the dock charger correctly, refer to the user manual for more specific requirements.<br />4. Gentle Hit<br />This robot slows down and touches the obstacles gently. Safe to your baby, your pets and your furniture.<br />5. Smart Self-Protection<br />TheE20 robot vacuum automatically stops to change direction if cliffs are detected. And this cleaner would stops working if lifted off ground.<br />6. Smooth Climbing Ability<br />Crossing over obstacles of 2cm at ease enables this E20 to cross over threshold or climbon carpet smoothly, meeting the requirement of different floor types.<br />7. Specialized Carpet Cleaning<br />Switchto the maximum air force automatically while cleaning the carpet and return tothe previous suction after cleaning.<br />8. Tangle Free<br />Brushes and wheels are both designed to be tangle-free, avoiding hairs or furs get into the cleaner. A beak-like clean tool accessory is included to remove hairs.<br />9. Washable E11 Strainer<br />High efficiency E11 strainer captures 99.2% of dust and allergens as small as 0.3micron. Washable design extends its service life and reduces the replacement frequency.<br />10. Sweeping and Mopping<br />Sweeping and mopping swipe away fine dirt on the floor. A botanic bionic designed water tank keeps a steady water seepage but no water leak when standby.<br />11. Plug-InDesign<br />Plugin the water tank for preparation of mopping, no need to overturn the robot.The mop cloth is designed to adhere to the tank entirely, avoiding any edge curling.<br />12. Multi-Mode Clean<br />Carpet,Quiet, Mopping, Balanced, Turbo & Max mode, switching among different modes flexibly to meet different cleaning requirement. Enjoy your cleaning time.<br />13. Efficient Target Cleaning<br />Clickthe Spot Clean on your phone or press the button on the robot to instruct the E20 to clean the area you want to clean.<br />14. 3D Full Coverage<br />The main brush floats up and down to keep close to the ground and the dynamic variable-speed side brush adapts its speed according to different clean situation, ensuring a full clean.<br />15. EnduranceClean<br />The 100-minute life battery enables the robot to clean the whole house from a single charge.<br /></p>
4581 <ul><li>DESCRIPTION:Brand : Roborock</li><li>Color : White</li><li>Energy consumption : Lithium-ion</li><li>Package weight in KGs : 5.5</li><li>Tank Capacity : 640ml</li><li>Bagged or Bagless : Bagged</li><li>Cordless or Corded : Cable for charging but controlled by App</li><li>Model Number : E20</li><li>Type : Robotic Vacuum Cleaners</li><li>Surface Type : Multi Surface</li><li>Are batteries needed to power the product or is this product a battery : Yes</li><li>Is this a Dangerous Good or a Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or disposal? : No</li><li>External Product ID Type : Not Available</li></ul>
4582 <p>DESCRIPTION:App Smart Control: Use Mi Home App to start, stop, schedule, customize, self-charge, sweepa spot, check accessory status and control moving direction. 2.4GHz Wi-Fi required, compatible with Android, IOS and Alexa.</p><p>High-Efficiency and Intelligence: Dual-gyro system and motion tracking sensors monitor movingdirection and cleaning session, planning a methodical cleaning path to coverthe whole floor. 13 sensors support anti-drop, anti-collision and jam-resistant,</p><p>Thorough Clean Performance: Enhanced 1800Pa strong suction intensely sucks up particles,debris and other dirt into the super-size dust box which reduces the frequencyto empty the dust box.</p><p>Sweeping and Mopping: Equipped with a water tank and mop cloth, work once but bring youan entire clean. The water tank ensures a steady seepage when the robotic vacuum is moving but no water stain at rest, protecting your floor.</p><p>Automatic Carpet Mode: This E20 robot vacuum can identify the carpet and switch to the maximum suction to suck up dirt wherever it hides.</p><p>1. Intelligent and Flexible</p><p>Afull suite of sensors indicate more intelligence when tackling complicated cleaning environment. No need to worry about falling down from stairs, being stuckand charging.</p><p>2. Methodical Clean</p><p>Dual-gyroscopesystem and high-precision optical tracking sensors support the robot vacuum toclean in a Z-shape way, and then along the edge, clean the whole house.</p><p>3. Automatic self-charging</p><p>Thedock charger emits infrared to let E20 to go back quickly when the robot need charging. Note:Please place the dock charger correctly, refer to the user manual for more specific requirements.</p><p>4. Gentle Hit</p><p>This robot slows down and touches the obstacles gently. Safe to your baby, your pets and your furniture.</p><p>5. Smart Self-Protection</p><p>TheE20 robot vacuum automatically stops to change direction if cliffs are detected. And this cleaner would stops working if lifted off ground.</p><p>6. Smooth Climbing Ability</p><p>Crossing over obstacles of 2cm at ease enables this E20 to cross over threshold or climbon carpet smoothly, meeting the requirement of different floor types.</p><p>7. Specialized Carpet Cleaning</p><p>Switchto the maximum air force automatically while cleaning the carpet and return tothe previous suction after cleaning.</p><p>8. Tangle Free</p><p>Brushes and wheels are both designed to be tangle-free, avoiding hairs or furs get into the cleaner. A beak-like clean tool accessory is included to remove hairs.</p><p>9. Washable E11 Strainer</p><p>High efficiency E11 strainer captures 99.2% of dust and allergens as small as 0.3micron. Washable design extends its service life and reduces the replacement frequency.</p><p>10. Sweeping and Mopping</p><p>Sweeping and mopping swipe away fine dirt on the floor. A botanic bionic designed water tank keeps a steady water seepage but no water leak when standby.</p><p>11. Plug-InDesign</p><p>Plugin the water tank for preparation of mopping, no need to overturn the robot.The mop cloth is designed to adhere to the tank entirely, avoiding any edge curling.</p><p>12. Multi-Mode Clean</p><p>Carpet,Quiet, Mopping, Balanced, Turbo & Max mode, switching among different modes flexibly to meet different cleaning requirement. Enjoy your cleaning time.</p><p>13. Efficient Target Cleaning</p><p>Clickthe Spot Clean on your phone or press the button on the robot to instruct the E20 to clean the area you want to clean.</p><p>14. 3D Full Coverage</p><p>The main brush floats up and down to keep close to the ground and the dynamic variable-speed side brush adapts its speed according to different clean situation, ensuring a full clean.</p><p>15. EnduranceClean</p><p>The 100-minute life battery enables the robot to clean the whole house from a single charge.</p><p>Note:</p><p>Pleaseturn on the Carpet mode in the App and suggest NOT use in dark colored andlong-pile carpet</p><p>Foroptimal performance, please use the beak-like cleaning tool to remove hairs onthe brush.</p><p>Please remove drapery, slippers, cables or anything would stuck the robot off ground.</p><p>Pleas eread the user¡¯s manual carefully before using</p><p>Stairs lower than 7cm may affect the performance</p><p>Climbing height reduces if water tank is installed</p><p>2.4GHzWi-Fi Required</p>
4583 <p>Description:BrandXiaomi </p><p>Light TypeTable Lamps </p><p>Mi Smart LED Desk Lamp, Wi-Fi the IEEE 802.11 B / G / N 2.4GHz! Specifications: ? Support iOS 7.0 or later, iPhone 4S and above, Android 4.0 and above ? About 25,000 hours life ? 4 Lighting Modes Brightness Color Temperature Step less Adjustment </p>
4584 <ul><li>SPECIFICATIONSBrandXiaomi<br /></li><li>RAM Size512</li><li>Package thickness8.6 centimeters</li><li>Package weight in KGs240 grams</li><li>Read more</li></ul>
8227 <ul class="generatedBullets"><li>Type : Dress Watch</li> <li>Display Type : Analog</li> <li>Model Number : MK-1</li> <li>Dial Case Diameter Size : 30 mm</li> <li>Targeted Group : Men</li> <li>Brand : Mcy Key</li> <li>Band Material : Stainless Steel</li> <li>Watch Shape : Round</li> </ul>
8228 <ul class="generatedBullets"><li>Type : Dress Watch</li> <li>Display Type : Analog</li> <li>Model Number : MK-1</li> <li>Dial Case Diameter Size : 30 mm</li> <li>Targeted Group : Men</li> <li>Brand : MK</li> <li>Band Material : Alloy</li> <li>Watch Shape : Round</li> </ul>
8229 <ul class="generatedBullets"><li>Type : Dress Watch</li> <li>Display Type : Analog</li> <li>Model Number : MK-1</li> <li>Dial Case Diameter Size : M (26 - 39 mm)</li> <li>Targeted Group : Men</li> <li>Brand : MK</li> <li>Band Material : Mixed</li> <li>Watch Shape : Round</li> </ul>
8230 <p>Targeted Group : Women</p> <p>Brand : Y&D Dress</p> <p>Length : Maxi</p> <p>Neck Style : Round</p> <p>Neck Pattern : Floral</p> <p>Sleeve Length : Full</p> <p>Sleeve Occasion : Special</p> <p>Occasion Fabric Type : Mixed Materials</p> <p>Dress Style : A Line</p>
8231 <p>Targeted Group : Women</p> <p>Brand : Y&D</p> <p>Dress Length : Maxi</p> <p>Neck Style : Round Neck</p> <p>Pattern : Print</p> <p>Sleeve Length : Short Sleeve</p> <p>Occasion : Special Occasion</p> <p>Fabric Type : Mixed Materials</p> <p>Dress Style : A Line</p>