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 (
    10051, 10052, 10053, 10054, 8682, 8662, 
    8582, 8583, 8584, 8585, 8586, 8587, 
    8588, 8589, 8590, 8591
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00066

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 (10051,10052,10053,10054,8682,8662,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591)) 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
8582 Casual Bag Multi-Functional Zipper Students Backpack Pink
8583 Y&D Fashion Straw Bag, Beach Bag, Casual Bag, OL Commuter
8584 Y&D Fashion Straw Bag, Hand-held Bag, Shoulder Beach Bag, Bucket Bag
8585 Y&D Fashion Straw Bag, Hand-held Bag, Shoulder Beach Bag, Bucket Bag
8586 Y&D Hollow Straw Bag, Shoulder Beach Bag, Hand Knitting Bag, Casual Bag
8587 Y&D Ins Bag, Beach Bag, Tassel Pure Hand-woven Bag, Grass-woven Bag
8588 Y&D Ins Style Beach Holiday Bag, Hand-woven Single Shoulder Bag, Commuter Bag
8589 Y&D ins style Beach Holiday Bag, Hand-woven Single Shoulder Bag, Commuter Bag
8590 Y&D ins style Beach Holiday Bag, Hand-woven Single Shoulder Bag, Commuter Bag
8591 Y&D ins style Beach Holiday Holiday Hollow Pack, Single Shoulder Pack, Handbag
8662 <div class="template-11 sec-1 sections section-Newtemplate-fullbanner-top-para"><br /><div class="content-top block50-50"><br /><div class="content-section"><br /><div class="image-section"><br /><h1><span style="font-size:12pt;">5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool </span></h1> <br /><p align="left"><strong><span>Feature:</span></strong></p> <br /><br /><ul><li> <ul><li> <p align="left">100% brand new and high quality.</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Has 5 cells for storing. Firm and long-lasting.</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">You do not have to throw it away when you don't need the drawer.</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Save up your precious living spaces simply by the underwear drawer storage box into your drawer or desktop.</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Perfect storing store any underwear, socks, masks, towels, gloves, handkerchiefs, shirts and etc.</p> </li> </ul></li> </ul><br /><p align="left"><strong>Description:</strong></p> <ul><li> <ul><li> <p align="left">Material:Plastic</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Color:Blue,Green,Pink</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Size(L*W*H):27cm x 6.5cm x 8.5cm/10.63x2.56x3.35 inch</p> </li> </ul></li> </ul><ul><li> <ul><li> <p align="left">Cells size:5.5cm/2.17inch</p> </li> </ul></li> </ul><br /><p align="left"><strong>Package Include:</strong></p> <ul><li> <ul><li> <p align="left">1X 5 Cells Plastic Organizer Storage Box</p> <p align="left"><img src="https://ae01.alicdn.com/kf/HTB1PrjqAiCYBuNkHFCcq6AHtVXai.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (5)" /><img src="https://ae01.alicdn.com/kf/HTB1K2mXAwKTBuNkSne1q6yJoXXax.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (8)" /><img src="https://ae01.alicdn.com/kf/HTB1D9YemDqWBKNjSZFxq6ApLpXa5.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (11)" /><img src="https://ae01.alicdn.com/kf/HTB1sP__bzbguuRkHFrdq6z.LFXam.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (1)" /><img src="https://ae01.alicdn.com/kf/HTB1WdL4INWYBuNjy1zkq6xGGpXaB.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (2)" /><img src="https://ae01.alicdn.com/kf/HTB14xoFAiCYBuNkSnaVq6AMsVXaa.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (4)" /><img src="https://ae01.alicdn.com/kf/HTB1a0QpmcUrBKNjSZPxq6x00pXay.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (7)" /><img src="https://ae01.alicdn.com/kf/HTB1wsb7by6guuRjy0Fmq6y0DXXa1.jpg" alt="5 Grids Plastic Organizer Storage Boxes Separator Tie Bra Socks Drawer Cosmetic Divider Tidy Solid Color Storage Tool #5AU03 (9)" /></p> </li> </ul></li> </ul><br /><br /></div> </div> </div> </div>
8682 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Model Number : Stratos</span></li> <li><span class="a-list-item">External Product ID : 851572007924</span></li> <li><span class="a-list-item">Brand : Xiaomi</span></li> <li><span class="a-list-item">External Product ID Type : EAN-13</span></li> <li><span class="a-list-item">With Camera: No </span></li> <li><span class="a-list-item">RAM Size: 512 MB</span></li> <li><span class="a-list-item">SIM card support : No</span></li> </ul><div class="a-row a-expander-container a-expander-inline-container"> <div class="a-expander-content a-expander-extend-content a-expander-content-expanded"> <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Operating System : Multi</span></li> <li><span class="a-list-item">Compatible Operating Systems : Android & iOS </span></li> </ul></div> </div>
10051 <p>Bracket Type Xiaomi Selfie Stick and Tripod Mount (2 in 1) design is more creative and records different moments of your life. It has a highly sensitive Bluetooth 3.0 remote control with built-in 60mAH rechargeable Li-ion battery to get the best shots and videos without asking a stranger. It can be rotated 360 degrees to get the perfect view angles, convenient to take pictures. It is made up of Aluminium alloy with anti-slip pull rod ranged up to 56-89mm which makes it lightweight, firm and non-slip. With its minimal and exquisite design, it is very easy to hold and put anywhere you want, a bag or even a pocket.</p> <p>Brand: Xiaomi </p> <p>Accessories type: Selfie Stick, Stand </p> <p>Features: Selfie Stick, with Bluetooth, with Remote Control, with Tripod </p> <p>Bluetooth Version: Bluetooth3.0 </p> <p>Material: Aluminium Alloy </p> <p>Folding Length: 19cm </p> <p>Extended Length: 42cm </p> <p>Clip Holder Range: 56 - 89mm</p> <p>Dimensions and Weight</p> <p>Product weight: 0.1550 kg </p> <p>Package weight: 0.2000 kg </p> <p>Product size: 19.00 x 4.50 x 5.00 cm / 7.48 x 1.77 x 1.97 inches </p> <p>Package size: 22.00 x 6.00 x 7.00 cm / 8.66 x 2.36 x 2.76 inches</p> <p>Package Contents</p> <p>1 x Selfie Stick</p> <p>1 x Bluetooth Remote Control</p>
10052 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">4K video recording at 30 fps, 1080p at 100 fps and 720p at 200 fps; Captures high resolution photos of 3840 x 2160 pixels.</span></li> <li><span class="a-list-item">7 elements lens with a wide angle of 145° and an f/2.8 aperture and 6 axis electronic image stabilizer.</span></li> <li><span class="a-list-item">Sony IMX317 Sensor, Ambarella A12S75 Chip that allows noise reduction in 3D photos and lens distortion correction.</span></li> <li><span class="a-list-item">2.4-inch Touch Screen, 1450 mAh Battery that lasts for up to 2 hours of 4K video recording at 30 fps and 3 hours of 1080p recording at 60 fps.</span></li> <li><span class="a-list-item">Built-in WiFi and Bluetooth for connection with your smartphone using the Mi 4K Action Camera 4K app.</span></li> </ul><h1 class="title-h1">Mi Action Camera 4K</h1> <div class="mj-slogan">Capture high-clarity beauty instantly</div> <div class="mj-keyword">4K 30fps video recording | 145° super wide-angle |<br />6-axis electronic image stabilization | 2.4" touch screen | highly portable</div> <div class="mj-keyword"> </div> <div class="mj-keyword"> <p><img src="https://i01.appmifile.com/webfile/globalimg/zh/goods/mi-action-camera-4k/camera-small-03.jpg?v1" alt="" width="1200" height="1200" /></p> </div> <div class="mj-keyword"> <h2 class="title-h2">145° wide-angle for panoramic shots</h2> <div class="mj-description">A beautiful background is essential to a good photo. Mi 4K Action Camera has a wide-angle lens with<br />up to 145° vision at f/2.8 aperture, creating photos with strong depth and broader view.</div> <div class="mj-description"> </div> <div class="mj-description"> <p><img src="https://i01.appmifile.com/webfile/globalimg/zh/goods/mi-action-camera-4k/camera-small-04-01.jpg" alt="" width="908" height="540" /></p> </div> </div>
10053 <h2 class="mj-slogan">All-round protection in Full High-Definition video</h2> <div class="mj-keyword">1080p FHD<span>|</span>360° Vision<span>|</span>Infrared Night Vision<span>|</span>AI motion detection<span>|</span><br />Talkback feature<span>||Inverted installation</span></div> <div class="mj-keyword"> </div> <div class="mj-keyword"> <div class="section-items mj-camera360-02 preload mj-active"><br /><div class="text-content text-black"><br /><h2 class="title-h2">360° vision means<br />full home protection</h2> <br /><p class="mj-description">The dual motorhead enables the camera to rotate and capture a full 360° horizontal view and 96° vertical view.<br />The camera's shockproof design and quiet motor allow the rotation to remain smooth and silent.</p> </div> <br /><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/zh/goods/camera-360/camera360-02.jpg" alt="" /></div> <br /><div class="section-items mj-camera360-03 preload mj-active"><br /><div class="mj-tabsbox"><br /><div class="tabs-content"><br /><div class="content-ul"><br /><div class="mj-items items-01 tabs-active"><br /><div class="text-content text-black"><br /><h2 class="title-h2">1080p Full High-Definition picture quality</h2> <br /><p class="mj-description">The Mi Camera 360° has perfect picture quality. With 2.0 megapixel, <br />1080p resolution and wide dynamic range, even distant backgrounds are clear and detailed.</p> </div> <br /><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/4FCF00C9-D1DA-C39A-8020-1110CC8C3921.jpeg" alt="" /></div> </div> </div> </div> </div> <br /><div class="section-items mj-camera360-04 preload mj-active"><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/9412A361-4F8F-2C44-C1CD-9BB6D117E39A.jpeg" alt="" /></div> <br /><div class="section-items mj-camera360-05 preload mj-active"><br /><div class="text-content text-white"><br /><h2 class="title-h2">Advanced video encoding technology</h2> <br /><p class="mj-description">This all-new video encoding technology allows smoother streaming and reduces bandwidth without compromising on detail.</p> <br /><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Available recording storage<br />is increased by 100%</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Bandwidth use<br />is reduced by 50%</span></li> </ul></li> </ul><br /><br /></div> </div> <br /><div class="section-items mj-camera360-06 preload mj-active"><br /><div class="text-content content-left text-black"><br /><h2 class="title-h2">AI motion detection alert</h2> <br /><p class="mj-description">Through the integration of deep learning technology and focused optimization of the algorithms and network software, the camera is able to accurately determine when to alert you and notifies you on your phone.</p> </div> <br /><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/24B723A2-6DCC-0965-25C0-16080EBEDF83.jpeg" alt="" /></div> <br /><div class="section-items mj-camera360-07 preload mj-active"><br /><div class="text-content text-black"><br /><h2 class="title-h2">Talkback feature (2-way audio)</h2> <br /><p class="mj-description">No matter where you are, you can always talk to your family using the camera.</p> </div> <br /><div class="img-items-wp"><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/zh/goods/camera-360/camera360-07b.png" alt="小米米家智能摄像机云台版" /></div> </div> <br /><div class="section-items mj-camera360-08 preload mj-active"><br /><div class="text-content-wp"><br /><div class="text-content text-black"><br /><h2 class="title-h2">Conveniently store videos</h2> <br /><p class="mj-description">Supports Network Attached Storage (NAS). Network devices or routers<br />with storage capabilities can be used to store files that are<br />backed up from SD cards to NAS storage devices.</p> <br /><p class="tips-items"> </p> <br /><br /><ul class="items-list"><li> <ul class="items-list"><li><strong class="items-title">Local MicroSD</strong><span class="items-text">Supports up to 64 GB</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><strong class="items-title">NAS storage</strong><span class="items-text">Back up microSD storage archives</span></li> </ul></li> </ul><br /><br /></div> </div> <br /><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/1707A0AC-23D6-D63D-3D50-4DD367399DF0.jpeg" alt="" /></div> <br /><div class="section-items mj-camera360-09 preload mj-active"><br /><div class="text-content text-black"><br /><h2 class="title-h2">View recorded videos on your smartphone or tablet with playback speed up to 16x</h2> <br /><p class="mj-description">Check on your home from anywhere and fast forward recorded video at 2x/4x/16x speed. <br />Store video using microSD and network-attached storage (NAS) devices.</p> <br /><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Phone</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Tablet</span></li> </ul></li> </ul><br /><br /></div> <br /><p class="tips-items">*Supports on Android 4.4/iOS9.0 or higher</p> <br /><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/5F31945D-E3F6-9F32-A7F2-1C0BAE4425E2.jpeg" alt="" /></div> <br /><div class="section-items mj-camera360-10 preload mj-active"><br /><div class="text-content text-white"><br /><h2 class="title-h2">Comprehensive encryption secures your privacy</h2> <br /><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Encrypted data transmission</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Set a time to hibernate</span></li> </ul></li> </ul><br /><br /></div> </div> <br /><div class="section-items mj-camera360-11 preload mj-active"><br /><div class="text-content text-black"><br /><h2 class="title-h2">Install upright or inverted</h2> <br /><p class="mj-description">The camera is pre-installed with the rotation base and can be placed on a table, window, ceiling or wall.<br />Inverted installation is possible with a minor camera setting change.</p> </div> </div> <br /><div class="section-items mj-camera360-12 preload mj-active"><img class="img-items" src="https://i01.appmifile.com/webfile/globalimg/7/D8118DDD-5714-A7DC-BAEF-6AE22FFA366C.jpeg" alt="" /></div> <br /><div class="section-items mj-camera360-13 preload mj-active"><br /><div class="text-content text-white"><br /><h2 class="title-h2">Simple 3-step set-up</h2> <br /><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Download the Mi Home app</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Power on the camera</span></li> </ul></li> </ul><br /><ul class="items-list"><li> <ul class="items-list"><li><span class="items-text">Open the app and connect to the camera</span></li> </ul></li> </ul><br /><br /></div> </div> <br /><div class="section-items mj-camera360-bottom preload"> </div>  </div>
10054 <p>3-Axis Stabilization Technology Makes Recording More Stable Can Shoot Stable And Smooth Video In Life, Hiking, Riding And Other Variety Of Scenarios Keeps Your Action Camera Stable For Better Quality</p> <ul class="generatedBullets"><li>Accessory Type : Gimbal</li> <li>Compatible with : Mi Action camera , Xiaomi Mi Action Camera 4K ZRM4035Gl</li> <li>Brand : Xiaomi</li> </ul>