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 (
    51099, 51098, 51095, 51094, 51093, 51092, 
    51078, 51069, 51064, 51058, 51043, 
    51042, 51037, 51036, 51029, 51008
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00050

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 (51099,51098,51095,51094,51093,51092,51078,51069,51064,51058,51043,51042,51037,51036,51029,51008)) 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
51008 <p>A beautiful broad and classy design couple wrist watch. It is made from high quality material and is one of the latest design watch from the makers of Zistar Watches.Machine movement used in the watch is of high quality and keeps the time accrate it comes with a beautiful case, which makes it an attractive finish It comes with a 6 month warranty, So you can buy it with confidence<br /></p> <table><thead><tr><th>Specification</th></tr></thead><tbody><tr><td>Colour</td><td>Gold</td></tr><tr><td>shape</td><td>Round</td></tr><tr><td>Targetted Group</td><td>Unisex</td></tr></tbody></table><table><tbody><tr><td>Band Material</td><td>Stainless Steel</td></tr><tr><td>Dial Colour</td><td>White</td></tr><tr><td>Display Type</td><td>Analogue</td></tr><tr><td>Movement</td><td>Quartz</td></tr><tr><td>Closer</td><td>Buckle</td></tr><tr><td>Powerd By</td><td>Battery</td></tr></tbody></table><p></p>
51029 <p></p> <h3>Information</h3> <ul><li><a href="https://www.wins4.com/index.php?route=information/information&information_id=4">About Us</a></li><li><a href="https://www.wins4.com/index.php?route=information/information&information_id=6">FAQ</a></li><li><a href="https://www.wins4.com/index.php?route=information/information&information_id=3">Warranty And Services</a></li><li><a href="https://www.wins4.com/index.php?route=information/information&information_id=7">Support 24/7 page</a></li><li><a href="https://www.wins4.com/#">Product Registration</a></li><li><a href="https://www.wins4.com/#">Product Support</a></li></ul><p> <br /><br /><br /><br /></p> <h3>My Account</h3> <ul><li><a href="https://www.wins4.com/index.php?route=product/manufacturer">Brands</a></li><li><a href="https://www.wins4.com/index.php?route=account/voucher">Gift Certificates</a></li><li><a href="https://www.wins4.com/index.php?route=affiliate/login">Affiliates</a></li><li><a href="https://www.wins4.com/index.php?route=product/special">Specials</a></li><li><a href="https://www.wins4.com/#">FAQs</a></li><li><a href="https://www.wins4.com/#">Custom Link</a></li></ul><p> <br /><br /><br /><br /></p> <h3>Services</h3> <ul><li><a href="https://www.wins4.com/index.php?route=information/contact">Contact Us</a></li><li><a href="https://www.wins4.com/index.php?route=account/return/add">Returns</a></li><li><a href="https://www.wins4.com/#">Support</a></li><li><a href="https://www.wins4.com/index.php?route=information/sitemap">Site Map</a></li><li><a href="https://www.wins4.com/#">Customer Service</a></li><li><a href="https://www.wins4.com/#">Custom Link</a></li></ul>
51036 <p>2 in 1 Sports watches <br /></p>
51037 <p>Zistar 2PCS Watches<br /></p>
51042 <p></p><p>Zistar Silver and Gold 2PCS Couple watches</p><p></p>
51043
51058 <br /><p> Pattern: Print Style: Casual, Sexy, Business, Sweet, Top Fashion Closure Type: Covered Button Decoration: Rhinestone, Big Dial Movement Type: Quartz Category: Women's Watches, Men's Watches, Couple watches Band Material: Stainless Steel, Alloy Case Material: Alloy, Rhinestone Display Type: Pointer Watch Type: Luxury Watches Features: Approximate Specifications: - Mirror - Case - Dial</p>
51064 <p>Digital Round Watch With Light Unique Design</p>
51069 <p></p> <p>Features:<br />1.The precise surface decent watch is very charming for all occasions;<br />2. Fashion and popular design of this wrist watch goes from the boardroom to the dinner party with ease.<br />3. Comfortable and durable mesh alloy strap, perfect for everyday use.<br />4. High transparent glass mirror is convenient to read the time.<br />5. High quality watch will be a perfect gift for your relatives and friends Specification:<br />Movement material: quartz<br />Mirror material: ordinary glass mirror<br />Strap material: alloy<br />Case material: alloy<br />Thickness: 8mm</p> <p></p>
51078 <p>New Square Rimless Sunglasses Women Luxury Brand Designer Summer Sun Glasses female Fashion Sun glasses outdoor UV protection sunglasses Without Box</p>
51092 <p></p> <p>Wristwatches Male Clock <br />Case Material: ABS<br />Band Material: Stainless Steel<br />Buckle type: Bracelet Clasp<br />Watch of Dial: Square<br />Dial Diameter: 43mm<br />Case Thickness: 13mm<br />Band Width: 18mm<br />Wristband Length: Adjustable<br />Weight: Approx 85g<br />Water Resistance Depth: 5ATM<br />Functions:Count Down ,Water Resistant,Chronograph,Alarm Clock,12/24 Hour Clock,EL Light,Date<br /><br /><br /></p> <h5>Piaoma Waterproof Digital Dial With Alarm Function Stainless Steel Men's Watch, 9079G, Silver</h5> <ul><li>The Piaoma Waterproof Digital Dial With Alarm Function Stainless Steel Men's Watch, 9079G, Silver Watches is manufactured by Piaoma.</li><li> </li><li>Buy the Piaoma Waterproof Digital Dial With Alarm Function Stainless Steel Men's Watch, 9079G, Silver at the best price in the Saudi Arabia.</li><li>The purchased Piaoma Waterproof Digital Dial With Alarm Function Stainless Steel Men's Watch, 9079G, Silver can be delivered to Saudi Arabia.</li><li>The product/item is Brand New.</li><li>Buy Piaoma Waterproof Digital Dial With Alarm Function Stainless Steel Men's Watch, 9079G</li></ul><p></p>
51093 <p>Gold Color Porsche Design Couple Gift watch<br /></p>
51094 <p></p> <ul><li>Sport Stereo Wireless Bluetooth Headset Sun lens Earphones Sunglasses mp3 Riding Glasses for lenovo sony xiaomiFeatures:Follows the rule of Bluetooth V4.1 versionBlack Polarized lenses which can filter light and protect your eyesightFashionable design with foldable eyeglasses.Earphones built directly on to the frame, and can be adjusted for comfortable fit.The wireless set aside to answer phone callsFlip-up GlassesUse of the network for remote wireless two-way conversationWith this Bluetooth Sunglasses, you can enjoy your handfree holidays.Built in chargeable 120mAh lithium batteryThis is a wireless Bluetooth mono headset sunglasses. Specifications:Longest wireless range: 10 metersTalk time: 6 hoursStand-by time: 180 hoursCharging time: 3 hoursNoise-signal ratio: 15 decibel resolutionFrequency: 2.402GHz -2.480GHzReceiver sensitivity: 0DBM (degree: 11)Encryption length: 128bitsCertificate Authentication: CE, FCCStorage temperature: 2060 degreesColor: blackSizse: 15*10cm Package Included:1 x Mobile Eyewear1 x USB Cable1 x Black Glasses Case1 x Cleaning Cloth1 x English User Manual Notes:Due to the difference between different monitors, the picture may not reflect the actual color of the item. Please understand, thank you. </li></ul>
51095 <p></p> <p>Watch movement: quartz watch</p> <p>Watch style: simple, casual and fashionable</p> <p>Case diameter: 40mm</p> <p>Dial thickness: 10mm</p> <p>Strap width: 20mm</p> <p>Strap length: 230mm(including case)</p> <p>Product: 2 watches </p>
51098 <p></p> <p><span class="attr-name J-attr-name" title="Buckle Material">Buckle Material:</span>Steel<br /><span class="attr-name J-attr-name" title="Width">Width:</span>3.5cm or as request<br /><span class="attr-name J-attr-name" title="Length">Length:</span>90 - 130CM or as your request<br /><span class="attr-name J-attr-name" title="Color">Color:</span>As per customer's demand<br /><span class="attr-name J-attr-name" title="Sizes">Sizes:</span>As per customer's demand<br /><span class="attr-name J-attr-name" title="Logo">Logo:</span>Accept Customized Logo</p>
51099 <p></p><ul><li>Available colours: </li><li>High-quality materials: </li><li>High-quality photos and real customers' reviews.</li><li>Wide size range: </li></ul><p>Joom online store offers high-quality products at low prices. Spectacle Frame With 5 Pieces (Magnetic) Polarized Sunglasses Lens Sports Eyewear Glasses: Joom prices are the lowest! 241 real reviews with photos! Do you want it to be even more affordable? Follow our discounts and special offers!</p>