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 (
    29827, 29828, 29829, 29830, 29831, 29832, 
    29833, 29834, 29835, 29836, 29837, 
    29838, 29839, 29840, 29841, 29842
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00054

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 (29827,29828,29829,29830,29831,29832,29833,29834,29835,29836,29837,29838,29839,29840,29841,29842)) 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
29827 <h2 class="default"> </h2> <div class="a-section a-spacing-small"> <p>Product Description: Design of water and prevent leaching. Two bright, energy-efficient LEDs. Install or remove without any tools, only need 3 seconds. Lighting modes: long flashing light and fast flashing light. 4 Kinds of Switch: Full light, flash, slow flash, off Button: One-Touch switch design, easy operation Body Material: Flexible waterproof silicone Lit Time: All the sustainable use of light 35 hours Scintillation sustainable use of 160 hours Technology: high brightness LED lights, the service life of flashlight exceeds 100000 hours. Safety light only Specifications: Function: Waterproof Battery Type: LR1130 battery 4 Kinds of Switch: Full light, flash, slow flash, off Button: One-Touch switch design, easy operation Body Material: Flexible waterproof silicone Lit Time: All the sustainable use of light 35 hours Size: approx. 42* 30* 25mm Package Includes: 2 x Bicycle Safety Light</p> </div>
29828 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Targeted Group : Unisex</span></li> <li><span class="a-list-item">Brand : Other</span></li> <li><span class="a-list-item">Material : Polyester</span></li> <li><span class="a-list-item">Type : School Backpacks Set</span></li> </ul>
29829 <span>Material: Imitation leather Style: Business For iPad Pro 11 inch</span>
29830 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Smooth your pet's nails with ease.There is low noise created by the grinder wheel</span></li> <li><span class="a-list-item">Perfectly groomed nails without the pain.Will not crack, splinter or break nails.Product is meant to smooth nail edges, not to cut nails</span></li> <li><span class="a-list-item">This Grooming tool uses a grinder to shorten and smooth nails.Make sure to press lightly against the nail to create a nice smooth grind</span></li> <li><span class="a-list-item">If you push too hard the wheel will stop for your pet's safety</span></li> <li><span class="a-list-item">Great for puppies' paws because it reduces the chance of clipping nails too short unlike original clippers</span></li> </ul>
29831 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Toy Category : Pachinko</span></li> <li><span class="a-list-item">Targeted Group : Unisex</span></li> <li><span class="a-list-item">Manufacturer Recommended Age : All Ages</span></li> <li><span class="a-list-item">Age : All Ages</span></li> <li><span class="a-list-item">Brand : Other</span></li> <li><span class="a-list-item">Non-toxic paints,high quality wood.</span></li> <li><span class="a-list-item">Each Jigsaw includes 60 pcs blocks.</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">Material:Wooden</span></li> <li><span class="a-list-item">Color:As the picture shows</span></li> <li><span class="a-list-item">Size:29.5cm * 22cm * 0.5cm/11.61" * 8.66" * 0.19"</span></li> </ul></div> </div>
29832 <span>Descriptions: This Baseus Pencil Silicone Holder is made of silicone which is water resistant and dustproof. Also protect the pencil tip. Equipped with a pencil cap. Do not worry about missing cap during charging. Take it with you. Small body yet useful. Main Features: - Made of silicone material, it protects the pencil tip from wearing and the pencil cap from falling off. - The pencil can be stably placed on the holder either in crosswise or lengthwise placement. - The silicone surface boasts fine coating treatment. More aesthetic and dust proof. - There are special places on the bottom of the base to hold the pencil tip and charging converter. Package Content 1 x Pencil Holder, 1 x Pencil Cap</span>
29833 <div>Product Description:  </div> <div>-USB 3.0 2.5" SATA External HDD HD Hard Drive Disk Enclosure Cover Case</div> <div>-Made of aluminium magnesium alloy material</div> <div>-High-speed external storage system for 2.5 inch hard disk drive</div> <div>-Converts your 2.5 inch Hard Drive Disc into an External hard drive for more flexibility and convenience</div> <div>-USB 3.0 Plug and Play</div> <div>-Supports System:windows 98/2000/XP/Vista/Windows7 etc</div> <div>-Accessory Only,NOT include Hard Disk</div> <div>-Colour:Black </div> <div> </div> <div>Package included: </div> <div>1 x 2.5" SATA HDD Enclosure  ( Do not included HDD/Hard Drive Disk)</div> <div>1 x USB Cable</div> <div> </div>
29834 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : Other</span></li> <li><span class="a-list-item">Type : Glass Screen Protector</span></li> <li><span class="a-list-item">Compatible with : Watches</span></li> <li><span class="a-list-item">Supported Screen Size : Multi</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> </ul>
29835 <span>Features:Plug-and-play: no device drivers are required.Wireless transmission, fast and sensitive, up to 10-meter working range.Support automatical hibernation mode, no power button needed.Thin and compact design: 18-key wireless numeric keypad, which is handy and portable.The red indicator light is on when the device is ready for data entry.Battery operated: an AAA battery(not included)for the keypad to work.Specification:Material: ABSNumber of Keys: 18 keysConnection: 2.4GVoltage: 1.5VItem Size: 8.5 * 13.8 * 2.2cm / 3.35 * 5.43 * 0.87in (L * W * H)Item Weight: 76g / 2.7ozPackage List:1 * Numeric keypad1 * USB receiver</span>
29836 <div>All-round protection: silicones AirPods cover effectively absorb impact; protect your AirPods from accident drop and scratches</div> <div>Lightweight: the silicone cover doesn't add much weight or bulk, just keep your AirPods new and clean</div> <div>The protective case with wireless charging function</div> <div>Perfect matching: professional design for AirPods</div> <div> </div> <div>Specifications:</div> <div>Material: Silicone</div> <div>Input: 5V/1A</div> <div>Suitable for AirPods</div> <div> </div> <div>Package:</div> <div>1 x BASEUS 5V/1A Silicone Wireless Charger Case</div> <div>Case only, AirPods not includedBaseus Wireless Charging Case For Airpods 5V/1A Wireless Charger Cover Silicone Protective Cases For Apple Airpods Charging Box</div>
29837 <div>NEW! Waterproof Dry Bag - waterproof, snow proof, sand proof, dust proof. Forge rivers, go fishing, canoeing, or be caught in a downpour with confidence.</div> <div>Never worry about dropping it in water or water getting in. Unique water-tight DOUBLE overlap roll top provides the best-in-class waterproof performance. Use a versatile  Waterproof Dry Bag for camera, cell phone, or can double as a fishing tackle bag or travel bag.</div> <div>Tough, durable 100% waterproof 500 D PVC material, fusion welded seams, removable adjustable shoulder carry strap make it a great compression dry sack. Always have clean, dry gear at your fingertips with a Waterproof Dry Bag.</div> <div> Waterproof Dry Bags keep your belongings safe for fishing, camping, boating, rafting, canoe trips. Waterproof Dry Bags will not replace a PFD but can be used as a supplemental emergency flotation device. It floats when sealed with air trapped inside. Having dry gear available can be crucial for your survival.</div> <div> </div> <div>Size: 5L/12.6"*7.9"/ 32*20 cm.</div> <div>Color: Blue</div> <div>Pattern: Solid</div>
29838 <div class="jsx-1003258361 jsx-3349621030" style="margin-bottom:0px;padding:0px;border-width:0px;font-size:12px;line-height:inherit;font-family:'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;vertical-align:baseline;color:rgb(64,69,83);background-color:rgb(255,255,255);"><div class="jsx-1889249662 overviewSection" style="margin-bottom:0px;padding:0px;border-width:0px;font:inherit;vertical-align:baseline;"><ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Backlit keyboard helps you to operate even in the dark</li><li class="jsx-1889249662">Optimum spacing of the keys make it easy for you to operate it</li><li class="jsx-1889249662">Contoured shape and design ensures optimum comfort during long gaming sessions</li></ul></div></div>
29839 <div>Key features:</div> <div>Perfect rain/sun/storm/snow/dust-resistant performance, providing all around protection for your barbecue grill</div> <div>Can be folded into small size, easy to carry and store</div> <div>Easy to wash, simply hose it down with water and let it dry in the sun</div> <div>Waterproof & anti-UV keep your grills from corroding of rain & sunshine</div> <div>Anti-wind and dust-proof, keeps your grill clean all time</div> <div>Protect your gas grill from hail, wind, heat, cold, bugs, insects, rain and snow</div> <div> </div> <div>Specifications:</div> <div>Color: Black</div> <div>Material: Polyester fibre</div> <div>Product Size:145 x 61 x 117</div> <div>Product weight: 330grams</div>
29840 <div>Material:Cotton,Polyester</div> <div>color: pink&</div> <div>Tiling diameter:60cm.</div> <div>Contraction after the outside diameter along the way: 45cm.</div> <div>Nest mouth diameter: 35.</div> <div>height:15cm.</div>
29841 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Sporting Good Category : Exercise</span></li> <li><span class="a-list-item">Type : Electric Muscle Building</span></li> <li><span class="a-list-item">Brand : Other</span></li> </ul>
29842 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : Other</span></li> <li><span class="a-list-item">Species : Cats & Dogs</span></li> <li><span class="a-list-item">Type : Grooming Supplies</span></li> <li><span class="a-list-item">Sub Type : Nail Clippers</span></li> <li><span class="a-list-item">With On/Off switch, easy to use.</span></li> <li><span class="a-list-item">Size: Approx. 6.89" x 0.91"(17.5cm x 2.3cm)</span></li> <li><span class="a-list-item">This item is the revolutionary nail trimmer for your dog, cat, birds or other pets with nails.</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">Powered by 2 x AA batteries (Not included)</span></li> <li><span class="a-list-item">More safer, faster and comfortable than the traditional clippers</span></li> </ul></div> </div>