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 (
    9789, 9790, 9791, 9792, 9793, 9794, 9795, 
    9796, 9797, 9798, 9799, 9800, 9801, 
    9802, 9803, 9804
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00053

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 (9789,9790,9791,9792,9793,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804)) 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
9789 <div class="para-list"> <ul><li>Extra-long cable means you can charge or sync your device while using it at the same time</li> <li>The weighted knot rests on any ledge, anchoring the cable wherever you like</li> <li>Easily adjust the position of the knot by sliding it along the cable, so it's never in your way</li> <li>2.4 amp cable supports iPad as well as iPhone and iPod charging</li> </ul></div>
9790 <ul><li><strong>Relax and Re-charge -  </strong>The extra-long braided cable lets you get comfortable when using and charging your device.</li> <li><strong>Stays right where you left it - </strong>No more fumbling for dropped cables. NIGHT CABLE’S weighted knot anchors itself to any flat surface so your cable is always there when you need it. You can set the position of the knot by sliding it along the cable.</li> <li><strong>A cable you won’t want to hide away - C</strong>omplements your style and your space. Made of durable nylon, it’s tangle-free, retro-inspired and built to last.</li> </ul>
9791 <div> </div> <div> <ul class="top-section-list"><li><span class="a-list-item">Lightweight, compact design works on both front and rear-facing cameras</span></li> <li><span class="a-list-item">Precision coated ground glass spices deliver superior clarity</span></li> <li><span class="a-list-item">Switch between lenses in seconds with no extra parts needed</span></li> <li><span class="a-list-item">Wearable pendants keep the lens instantly accessible</span></li> <li><span class="a-list-item">Works with all your favorite photo and video apps</span></li> </ul></div> <div> </div> <div> </div> <p> </p>
9792 <div> </div> <div> <ul class="top-section-list"><li class="top-section-list-item">Fisheye and Wide-Angle Lens</li> <li class="top-section-list-item">Two Macro Lenses (10x and 15x)</li> <li class="top-section-list-item">Plastic Attachment Ensures Secure Fit</li> <li class="top-section-list-item">Compatible with Front or Rear Camera</li> </ul></div> <div> </div> <div> </div> <p> </p>
9793 <ul class="a-unordered-list a-vertical"><li><span class="a-list-item">225 degrees articulating hub design</span></li> <li><span class="a-list-item">Optimized for mobile videography</span></li> <li><span class="a-list-item">Universal Clamp accommodates mobile devices from 4 - 5.5 inch</span></li> <li><span class="a-list-item">Compact design fits in back pocket</span></li> <li><span class="a-list-item">No power or charging needed</span></li> <li><span class="a-list-item">Integrated cold shoe mount to attach lightweight accessories like a light or microphone</span></li> </ul><p><span class="a-text-bold">GoPro READY</span></p> <ul class="a-unordered-list a-vertical"><li><span class="a-list-item">1/4-20 mount and GoPro adapter for connecting to olloclip Studio or other compact cameras</span></li> </ul>
9794 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Fisheye: Creative freedom through a unique 180 spherical effect with endless possibilities. Our brand new supercharged Fisheye is handcrafted to deliver crisp imagery with the widest field-of-view. A common favorite in skateboarding, the Fisheye lens is perfect for adding a unique perspective to almost any setting - including 360 degree VR shots of landscapes, portraits and even selfies with a group of friends.</span></li> <li><span class="a-list-item">Super-Wide: Capture more landscapes and more friends through our all-new advanced 4-element lens with over 120 field-of-view. The Super-Wide lens captures almost double the field-of-view of iPhone's native camera with maximum sharpness and minimal distortion. Great for panoramic scenery and tight interior spaces.</span></li> <li><span class="a-list-item">Macro: Get 15x closer to analyze, document and share beautiful macro photos and video with greater depth-of-field and less pincushion distortion. Transform iPhone into a digital microscope and go beyond what the human eye can observe to see the details in fabric, flowers and other textured materials.</span></li> </ul>
9795 <ul><li>Advanced six element optics deliver edge-to-edge clarity</li> <li>Easy-to-use, patented system attaches and aligns instantly with no extra parts needed</li> <li>Connect interchangeable lens system for creating the perfect set to match your adventure</li> <li>Hinged base keeps the lens flush with the camera for improved optical performance</li> <li>Screen protector friendly up to 0.5mm</li> <li>Included InstaFocus hoods naturally collect and diffuse light and facilitate focusing</li> <li>Wearable Pendant Stand keeps the lens accessible and opens to create a pocket-sized tripod</li> <li>Works with all camera apps and is even great for video, time-lapse, panoramas and 360 degrees VR photos</li> </ul>
9796 <ul><li>Easy-to-use, patented system attaches and aligns instantly with no extra parts needed</li> <li>Selfie-ready to work seamlessly on both front and rear-facing cameras</li> <li>Connect interchangeable lens system for creating the perfect set to match your adventure</li> <li>Hinged base keeps the lens flush with the camera for improved optical performance</li> <li>Screen protector friendly up to 0.5mm</li> <li>Works with all camera apps and is even great for video, time-lapse, panoramas and 360 degrees VR photos</li> </ul><p> </p>
9797 <ul><li>Easy-to-use, patented system attaches and aligns instantly with no extra parts needed</li> <li>Connects interchangeable lens system for creating the perfect set to match your adventure</li> <li>Hinged base keeps the lens flush with the camera for improved optical performance</li> <li>Screen protector friendly up to 0.5mm</li> <li>A seamless integration of Lens and Case</li> <li>Rubberized Bumpers for better handling</li> <li>Raised Bezel keeps the screen from contacting flat surfaces</li> </ul><p> </p>
9798 Easy-to-use, patented system attaches and aligns instantly with no extra parts needed<br />Connect interchangeable lens system for creating the perfect set to match your adventure<br />Selfie-ready to work seamlessly on both front and rear-facing cameras<br />Wearable Pendant Stand keeps the lens accessible and opens to create a pocket-sized tripod<br />Universal Clamp accommodates mobile devices from 4 inch -5.5 inch. Compact design fits in back pocket<br />No power or charging needed<br />1/4-20 mount and GoPro adapter for connecting to olloclip Studio or other compact cameras<br /><p><span>olloclip + Incase collaborate to deliver the ultimate kit of essentials for mobile filmers, live streamers and photographers. </span></p> <p><span>The all-new Filmer’s Kit includes the Core Lens Set (Fisheye, Super-Wide and Macro 15x lenses), Active Lens Set (Telephoto 2x and Ultra-Wide lenses) and Pivot - a 225 articulating mobile video grip.</span>All packed nicely in a custom compression molded case.</p>
9799 <div> </div> <div> <div> <ul><li>This bundle includes an iPhone X Clip, along with Fisheye, Super-Wide and Macro Essential Lenses that offer a 180??? spherical effect, a wider field of view and macro magnification to enhance your iPhone camera's perspective. This set is also equipped with Connect X Lens System, so you can swap with other Connect X Lenses ( for iPhone X or Multi-Device Clip )</li> </ul></div> </div> <ul><li>Three premium multi-element coated glass lenses deliver superior image quality Fisheye: Unique 180 degrees spherical effect</li> <li><i class="fa fa-check"></i>Super-Wide: 4-element lens with over 120-degree field of view</li> <li><i class="fa fa-check"></i>Macro 15x: 15x magnification for the ultimate close-up</li> <li><i class="fa fa-check"></i>Easy-to-use, patented system attaches and aligns instantly with no extra parts needed</li> <li><i class="fa fa-check"></i>Selfie-ready to intuitively work on front and rear-facing cameras</li> <li><i class="fa fa-check"></i>Connect X interchangeable lens system for creating the perfect set to match your adventure</li> <li><i class="fa fa-check"></i>Expanding mount is compatible with all screen protectors</li> <li><i class="fa fa-check"></i>Pendant Stand keeps the lens accessible and opens to create a pocket-sized tripod</li> <li><i class="fa fa-check"></i>Works with all camera apps and is even great for video, time-lapse, panoramas and 360 degrees VR photos</li> <li><i class="fa fa-check"></i>NOTE: Previous generation Connect lenses are not compatible with the new Connect X lens system.</li> <li><i class="fa fa-check"></i>Works with caseless iPhone</li> <li><i class="fa fa-check"></i>Works with "olloclip-ready" phone case</li> <li><i class="fa fa-check"></i>Does not work with any other phone case</li> <li><i class="fa fa-check"></i>Screen protector compatible up to 0.5mm</li> <li><i class="fa fa-check"></i>Not compatible with flash</li> </ul>
9800 <h3><span style="font-size:10pt;">WIDE-ANGLE</span></h3> <p>A wider field of view to get more in the shot.<br />Use this for: action sports videos, creative portraits, emphasizing unique architecture or landscapes.</p> <h3><span style="font-size:10pt;">MACRO</span></h3> <p>Magnification turns your camera into a microscope for the ultimate close-up.<br />Use this for: a sharp focus on small subjects with a blurry "bokeh" background effect, discovering fine textures and intricate details.</p> <ul><li>Swap with other Connect X Lenses (for iPhone X or Multi-Device Clip).</li> <li>Multi-element coated glass optics deliver premium image quality.</li> <li>Clip expands to work with screen protectors.</li> <li>Great for video, time-lapse, panoramas and 360 degrees VR photos.</li> <li>Works with all camera apps.</li> <li>Includes: Intro Wide-Angle + Macro Lens, Multi-Device Clip, lens cap.</li> </ul>
9801 <ul class="a-unordered-list a-vertical a-spacing-none"><li> <h3><span>FISHEYE ESSENTIAL</span></h3> <p><span>Unique, 180 degrees spherical effect to capture everything around you.<br /></span>Use this for: action sports videos, creative portraits, emphasizing unique architecture or landscapes.</p> </li> <li> <h3><span>MACRO ESSENTIAL</span></h3> <p><span>Magnification turns your camera into a microscope for the ultimate close-up.<br /></span>Use this for: a sharp focus on small subjects with a blurry "bokeh" background effect, discovering fine textures and intricate details.</p> </li> <li> <h3><span>SUPER-WIDE ESSENTIAL</span></h3> <p><span>Doubles your field of view so you can get more in the frame.<br /></span>Use this for: group selfies, expansive landscape and architecture shots.</p> </li> </ul><h3>MORE TO LOVE</h3> <ul><li>Swap with other Connect X Lenses (for iPhone XS Max, XS, XR, X or Multi-Device Clip).</li> <li>Multi-element coated glass optics deliver premium image quality.</li> <li>Our patented system attaches and aligns instantly. No extra parts needed.</li> <li>Aligns with front and rear-facing cameras.</li> <li>Clip expands to work with screen protectors.</li> <li>Great for video, time-lapse, panoramas and 360 degrees VR photos.</li> <li>Works with all camera apps</li> <li>Includes: Fisheye Essential Lens, Super-Wide Essential Lens, Macro Essential Lens, iPhone XR Clip, lens caps.</li> </ul>
9802 <ul class="a-unordered-list a-vertical a-spacing-none"><li> <h3><span>FISHEYE ESSENTIAL</span></h3> <p><span>Unique, 180 degrees spherical effect to capture everything around you.<br /></span>Use this for: action sports videos, creative portraits, emphasizing unique architecture or landscapes.</p> </li> <li> <h3><span>MACRO ESSENTIAL</span></h3> <p><span>Magnification turns your camera into a microscope for the ultimate close-up.<br /></span>Use this for: a sharp focus on small subjects with a blurry "bokeh" background effect, discovering fine textures and intricate details.</p> </li> <li> <h3><span>SUPER-WIDE ESSENTIAL</span></h3> <p><span>Doubles your field of view so you can get more in the frame.<br /></span>Use this for: group selfies, expansive landscape and architecture shots.</p> </li> </ul><h3>MORE TO LOVE</h3> <ul><li>Swap with other Connect X Lenses (for iPhone XS Max, XS, XR, X or Multi-Device Clip).</li> <li>Multi-element coated glass optics deliver premium image quality.</li> <li>Our patented system attaches and aligns instantly. No extra parts needed.</li> <li>Aligns with front and rear-facing cameras.</li> <li>Clip expands to work with screen protectors.</li> <li>Great for video, time-lapse, panoramas and 360 degrees VR photos.</li> <li>Works with all camera apps.</li> </ul>
9803 <ul class="a-unordered-list a-vertical a-spacing-none"><li> <h3><span>FISHEYE ESSENTIAL</span></h3> <p><span>Unique, 180 degrees spherical effect to capture everything around you.<br /></span>Use this for: action sports videos, creative portraits, emphasizing unique architecture or landscapes.</p> </li> <li> <h3><span>MACRO ESSENTIAL</span></h3> <p><span>Magnification turns your camera into a microscope for the ultimate close-up.<br /></span>Use this for: a sharp focus on small subjects with a blurry "bokeh" background effect, discovering fine textures and intricate details.</p> </li> <li> <h3><span>SUPER-WIDE ESSENTIAL</span></h3> <p><span>Doubles your field of view so you can get more in the frame.<br /></span>Use this for: group selfies, expansive landscape and architecture shots.</p> </li> </ul><h3>MORE TO LOVE</h3> <ul><li>Swap with other Connect X Lenses (for iPhone XS Max, XS, XR, X or Multi-Device Clip).</li> <li>Multi-element coated glass optics deliver premium image quality.</li> <li>Our patented system attaches and aligns instantly. No extra parts needed.</li> <li>Aligns with front and rear-facing cameras.</li> <li>Clip expands to work with screen protectors.</li> <li>Great for video, time-lapse, panoramas and 360 degrees VR photos.</li> <li>Works with all camera apps.</li> <li>Includes: Fisheye Essential Lens, Super-Wide Essential Lens, Macro Essential Lens, iPhone XS Max Clip, lens caps.</li> </ul>
9804 <div> </div> <div> <ul class="top-section-list"><li class="top-section-list-item">Fisheye and Wide-Angle Lens</li> <li class="top-section-list-item">Two Macro Lenses (10x and 15x)</li> <li class="top-section-list-item">Plastic Attachment Ensures Secure Fit</li> <li class="top-section-list-item">Compatible with Front or Rear Camera</li> </ul></div> <div> </div> <div> </div> <p> </p>