SELECT 
  product_descriptions.product_id, 
  product_descriptions.short_description, 
  IF(
    product_descriptions.short_description = '' 
    OR product_descriptions.short_description IS NULL, 
    product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  product_descriptions 
WHERE 
  product_descriptions.product_id IN (
    1349, 27432, 1348, 2148, 20015, 24281, 
    21543, 21046, 25035, 29202, 74829, 
    62880, 73695, 71786, 27395, 45770, 
    63596, 167241, 54750, 45664, 54882, 
    54924, 60119, 153527
  ) 
  AND product_descriptions.lang_code = 'en'

Query time 0.00864

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.45"
    },
    "table": {
      "table_name": "product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "11",
      "rows_examined_per_scan": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "18.05",
        "eval_cost": "2.40",
        "prefix_cost": "20.45",
        "data_read_per_join": "122K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`goimagine`.`product_descriptions`.`product_id` in (1349,27432,1348,2148,20015,24281,21543,21046,25035,29202,74829,62880,73695,71786,27395,45770,63596,167241,54750,45664,54882,54924,60119,153527)) and (`goimagine`.`product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
1348 <p>Small Dangle Amazonite & Abalone Earrings. Dainty and light weight in sterling silver.</p>
1349 <p>pearl-abalone-earrings</p>
2148 <p>Abalone shell heart earrings</p>
20015 <p>Oval shaped abalone sea shell and fresh-water pearl drop earrings. Lovely beach style jewelry that goes from day to evening.</p>
21046 <p>Chandelier filigree heart earrings with periwinkle blue beads and sterling silver french hook ear wires.&nbsp; The perfect heart earrings for your sweetheart.</p>
21543 <p>Long, curved, silver cross earrings with pearl and black crystal beads. Your choice of Sterling Silver or Stainless Steel ear wires.&nbsp;</p>
24281 <p>These freshwater pearl earrings are the perfect choice for a summer afternoon or beach side wedding, creamy white, dimpled pearl discs are topped with light aqua blue freshwater pearl nuggets.</p>
25035 <p>Fun, carved wood parrot earrings in bright turquoise blue and lime green with black detailing. Wow them with a tropical flair at your next pool party!</p> <p>These vintage hand carved wooden parrots beads are painted with the bright and cheerful colors typical in the tropics. Lightweight, they have been upcycled adding sterling silver finishings and ear wires.</p> <p></p>
27395 <p>Earthy ocean stone dangle earrings.</p> <p>Turquoise howlite and hematite stone beads give these dangle earrings a touch of color and shine against the natural grey finish of the ocean washed rocks.</p>
27432 <p>Celebrate Independence Day in style with crystal beaded red, white and blue sparkling earrings</p>
29202 <p>Aqua blue and gold hand crafted glass bead, sphere shaped dangle earrings for women.</p>
45664 <p>Fun beaded candy corn earrings for Fall and Halloween. Made from glass candy corn with coordinating seed beads on sterling silver or stainless ear wires.</p>
45770 <p>Colorful porcelain pumpkin dangle earrings for Thanksgiving, Halloween and all your Fall gatherings</p>
54750 <p>Festive natural, Jobs tear seed earrings for the Christmas holiday and all winter long! Also makes a beautiful and unique gift. Your earrings will come to you gift boxed and ready to enjoy or share.</p>
54882 <p>Hand Painted holiday Christmas tree dangle earrings. The perfect last minute stocking stuffers for her.</p>
54924 <p>A sweet pick for the holidays. Red and white peppermint candy earrings that are a delight to wear.</p>
60119 <p>These three dimensional stingray charm earrings have perfect detailing on both front and back. Wire wrapped with&nbsp; circles of abalone sea shell and then topped with nuggets of fresh-water pearls.</p>
62880 <p>Large Costa Rican wood tear drop dangle earrings for women.</p>
63596 <p>Rustic and earthy, these Indonesian sea glass earrings are fun and easy to wear no matter where daily plans take you.</p>
71786 <p>Purple blend, printed seahorse earrings on white howlite stone rectangles beaded dangles. A fun, colorful take on one of the ocean's favorite and most unusual under the sea animals.</p>
73695 <p>Women's Mother of Pearl seashell coin bead and coconut drop earrings.</p>
74829 <p><em></em>Long beaded natural Sea bean pendant necklace for women.</p> <p>Shaped just like a little hamburger, these drift seeds float in on the tides and can be found along the beaches on tropical beaches around the world. I have paired this one up with frosted sea-foam green frosted glass beads from India, and assorted porcelain and wood beads mixed with touches of antiqued silver tones.<br><br>Threaded on natural brown suede cord this necklace has an added link chain making it adjustable from 23 to 25 inches long.<br>Sea bean pendant measures approx. 7/8" x 7/8".<br><br>I found this Mucuna seed (commonly called Hamburger seed) along the tide line on a remote beach in the Hawaiian Islands.<br><br>Sea beans are seeds from tropical rain forests. Washed into the streams and rivers to reach the sea where they then can travel adrift for many miles before washing up on a distant shore. Ancient mariners, believed they brought good luck because of their great ability to travel the world unharmed.</p> <p>Comes gift boxed, perfect for share.</p> <p><b class="wt-btn wt-btn--transparent wt-btn--small wt-content-toggle--btn" data-read-more-label-open="Less" data-read-more-label-closed="Learn more about this item" data-wt-content-toggle="true" data-read-more="true" aria-controls="wt-content-toggle-product-details-read-more" aria-expanded="true" style="background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.4; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; border-radius: 24px; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; z-index: 10;"><b class="wt-content-toggle--btn wt-content-toggle--flush wt-width-full wt-btn wt-btn--transparent wt-content-toggle--with-icon appears-ready" data-wt-content-toggle="" aria-controls="desktop-shipping-content-toggle" data-content-toggle-uid="desktop-shipping-content-toggle" aria-expanded="true" style="margin-right: -18px; margin-left: -18px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.5; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; font-size: 16px; border-radius: 24px; display: inline-flex; min-height: 48px; min-width: 48px; padding: 12px 18px; position: relative; z-index: 10; align-items: center; justify-content: space-between; width: calc(100% + 36px) !important;"><b class="wt-btn wt-btn--transparent wt-btn--small wt-content-toggle--btn wt-btn--transparent-flush-left wt-content-toggle--with-icon" data-wt-content-toggle="" aria-controls="estimated-shipping-form-fields" aria-expanded="false" style="margin-left: -15px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.4; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; border-radius: 24px; display: inline-flex; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; z-index: 10; align-items: center; justify-content: space-between;"><b class="wt-btn wt-btn--small wt-btn--transparent wt-btn--transparent-flush-left" data-overlay-trigger="" aria-controls="policies-overlay" style="margin-left: -15px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-stretch: inherit; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; border-radius: 24px; font-weight: bold; line-height: 1.4; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; z-index: 10;"><b class="wt-content-toggle--btn wt-content-toggle--flush wt-width-full wt-btn wt-btn--transparent wt-content-toggle--with-icon " data-wt-content-toggle="" aria-controls="faqs_parent" aria-label="Frequently asked questions" data-content-toggle-uid="faqs_parent" aria-expanded="false" style="margin-right: -18px; margin-left: -18px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.5; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; font-size: 16px; border-radius: 24px; display: inline-flex; min-height: 48px; min-width: 48px; padding: 12px 18px; position: relative; z-index: 10; align-items: center; justify-content: space-between; width: calc(100% + 36px) !important;"><b class="wt-content-toggle--btn wt-btn wt-content-toggle--with-icon wt-btn--transparent shop-faq-accordion wt-width-full wt-content-toggle--flush wt-mb-xs-2 wt-btn--small" data-wt-content-toggle="" aria-controls="faq-content-0" tabindex="-1" aria-expanded="false" style="margin-right: -18px; margin-left: -18px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.4; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; border-radius: 24px; display: inline-flex; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; z-index: 10; align-items: center; justify-content: space-between; margin-bottom: 12px !important; width: calc(100% + 36px) !important;"><b class="wt-content-toggle--btn wt-btn wt-content-toggle--with-icon wt-btn--transparent shop-faq-accordion wt-width-full wt-content-toggle--flush wt-mb-xs-2 wt-btn--small" data-wt-content-toggle="" aria-controls="faq-content-1" tabindex="-1" aria-expanded="false" style="margin-right: -18px; margin-left: -18px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.4; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; border-radius: 24px; display: inline-flex; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; z-index: 10; align-items: center; justify-content: space-between; margin-bottom: 12px !important; width: calc(100% + 36px) !important;"><b class="wt-content-toggle--btn wt-content-toggle--flush wt-width-full wt-btn wt-btn--transparent wt-content-toggle--with-icon " data-wt-content-toggle="" aria-controls="desktop_shop_owners_parent" data-content-toggle-uid="desktop_shop_owners_parent" aria-expanded="true" style="margin-right: -18px; margin-left: -18px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 1.5; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; text-align: left; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; font-size: 16px; border-radius: 24px; display: inline-flex; min-height: 48px; min-width: 48px; padding: 12px 18px; position: relative; z-index: 10; align-items: center; justify-content: space-between; width: calc(100% + 36px) !important;"><b class="wt-menu__trigger wt-btn wt-btn--transparent wt-btn--small sort-reviews-trigger" aria-haspopup="true" aria-expanded="false" data-wt-menu-trigger="" style="background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; border-style: none; border-color: initial; color: rgb(34, 34, 34); font-style: inherit; font-variant: inherit; font-stretch: inherit; outline: none; -webkit-tap-highlight-color: transparent; appearance: none; font-family: &quot;Graphik Webfont&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Droid Sans&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif; border-radius: 24px; display: flex; font-weight: bold; line-height: 1.4; min-height: 36px; min-width: 36px; padding: 9px 15px; position: relative; text-align: left; z-index: 10; align-items: center; justify-content: space-between; left: 7px;"><u><u><u></u></u></u></b></b></b></b></b></b></b></b></b></p>
153527 <p>Iridescent dyed aquamarine, blue sea shell earrings dangle below a cluster of light aqua blue crystal beads. A great choice from your glamorous occasions to a glittery choice for the beach bar.<br><br>• Irregular, square shaped dyed sea shells hung on the diagonal.<br>• Glass crystal cluster beads in a pale shade of aqua blue.<br>• Earrings measure 2 1/4 inches long from top of ear wire.<br>• Your choice of sterling silver or stainless steel french hook.<br>• Tarnish free, silver base metal wraps and spacers.<br><br>Comes tucked in a small box, perfect for giving.<br><br>I’m happy to answer any questions you may have.<br><br>Thanks for looking!<br>Jo</p>
167241 <p></p> <p>Little love birds in a rustic brass finish, dangle sweetly below hearts of red and gold.&nbsp; These simply captivating earrings will make the perfect gift for your loved one this Valentine's Day.</p> <p>* Your choice of finished ear hooks. (brass, sterling silver or stainless steel)<br>* Antiqued brass bird charms.<br>* Czech glass red hearts with white swirls.<br>* Antiqued brass heart beads.<br>* Antiqued brass wire wrap.<br>* Silicone earring protectors included.</p> <p>Measuring 2" from the top of the ear wire to the bottom of the earrings, these boho brass birds are light & easy to wear.</p> <p>Comes gift boxed and ready to share or enjoy.</p>