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 (
    138903, 171934, 139416, 139364, 139389, 
    139360, 138902, 139368, 173441, 139376, 
    139318, 139415, 139314, 139315, 139377, 
    149277, 139381, 139366, 139363, 139387, 
    139379, 139418, 139321, 139361, 139419, 
    173429, 149275, 139380, 139355, 139358, 
    139372, 139383, 139390, 138901, 173431, 
    173432, 149249, 173426, 138899, 173436, 
    149261, 149274, 139370, 173443, 139367, 
    173438, 139385, 149278
  ) 
  AND product_descriptions.lang_code = 'en'

Query time 0.00272

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "39.75"
    },
    "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": 48,
      "rows_produced_per_join": 48,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "34.95",
        "eval_cost": "4.80",
        "prefix_cost": "39.75",
        "data_read_per_join": "244K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`goimagine`.`product_descriptions`.`product_id` in (138903,171934,139416,139364,139389,139360,138902,139368,173441,139376,139318,139415,139314,139315,139377,149277,139381,139366,139363,139387,139379,139418,139321,139361,139419,173429,149275,139380,139355,139358,139372,139383,139390,138901,173431,173432,149249,173426,138899,173436,149261,149274,139370,173443,139367,173438,139385,149278)) and (`goimagine`.`product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
138899 <p>Embroidered vinyl vaccine card holder with Vaxinista design - clear vinyl pocket on back designed to hold US size cards which are 3" x 4" (opening measures 3-1/4" x 4-1/8").</p> <p>Made of 2 layers of silver holographic vinyl - with a clear pocket on the back. &nbsp;Badge clip holder.</p>
138901 <p></p> <p>Embroidered vinyl vaccine card holder with Proof of Fauci Ouchie design - clear vinyl pocket on back designed to hold US size cards which are 3" x 4" (opening measures 3-1/4" x 4-1/8").</p> <p>Made of 2 layers of black vinyl (embroidered with orange variegated thread) - with a clear pocket on the back. &nbsp;Lobster claw holder.</p>
138902 <p></p> <p>Embroidered vinyl vaccine card holder with Plague Doctor design - clear vinyl pocket on back designed to hold US size cards which are 3" x 4" (opening measures 3-1/4" x 4-1/8").</p> <p>Made of 2 layers of dusty green vinyl - with a clear pocket on the back. &nbsp;Lobster claw holder.</p>
138903 <p></p> <p>Embroidered vinyl vaccine card holder with Plague Doctor design - clear vinyl pocket on back designed to hold US size cards which are 3" x 4" (opening measures 3-1/4" x 4-1/8").</p> <p>Made of 2 layers of brown vinyl - with a clear pocket on the back. &nbsp;Lobster claw holder.</p>
139314 <p>Christmas ornament made from red-pink-metallic green stripe/snowflake design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139315 <p>Christmas ornament made from red-white/silver metallic deer design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139318 <p>Christmas ornament made from red with Cat with Christmas lights design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139321 <p>Christmas ornament made from ecru with wreath/candy canes design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139355 <p>Christmas ornament made from blue with snowmen design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139358 <p>Christmas ornament made from black with metallic trees/gifts design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139360 <p>Christmas ornament made from dark red with metallic mittens design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139361 <p>Christmas ornament made from red with Gingerbread men/house print knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139363 <p>Christmas ornament made from tan/black with white deer design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139364 <p>Christmas ornament made from white with red/green/black reindeer design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139366 <p>Christmas ornament made from black with metallic snow globes design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139367 <p>Christmas ornament made from black with holly design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139368 <p>Christmas ornament made from off-white "aran knit" design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139370 <p>Christmas ornament made from rose cable knit design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139372 <p>Christmas ornament made from dark rose cable knit design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139376 <p>Christmas ornament made from light blue cable knit design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139377 <p>Christmas ornament made from dusty blue cable knit design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139379 <p>Christmas ornament made from black with bear in stocking design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139380 <p>Christmas ornament made from white with metallic ornaments design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139381 <p>Christmas ornament made from grey/white trees (angora) design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139383 <p>Christmas ornament made from black with chubby cats w/scarf design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139385 <p>Christmas ornament made from black with snowflake (ango design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139387 <p>Christmas ornament made from red with Santa/trees design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139389 <p>Christmas ornament made from grey with mittens design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139390 <p>Christmas ornament made from red with Snowman design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139415 <p>Christmas ornament made from grey/pink deer design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139416 <p>Christmas ornament made from black/grey with metallic mittens design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139418 <p>Christmas ornament made from red reindeer design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
139419 <p>Christmas ornament made from red/green/blue stripe with Santa design knit sock over a 3" styrofoam ball. Topper is made from sock cuff with ribbon hangar. &nbsp;Pictures show a couple of sides of the ornament as well as the top.</p>
149249 <p>Embroidered vinyl vaccine card holder with Cranky Unicorn with bandaid design - clear vinyl pocket on back designed to hold US size cards which are 3" x 4" (opening measures 3-1/4" x 4-1/8").</p> <p>Made of 2 layers of white textured vinyl - with a clear pocket on the back. &nbsp;Badge clip holder.</p> <p></p>
149261 <p>Fabric over 4" styrofoam ball ornament - featuring pink fabric with fat Unicorn cat. &nbsp;Gimp braid and ribbon bow trim. &nbsp;Pictures show all 4 sections of ornament along with top ribbon bow/hangar.</p>
149274 <p>Fabric over 3" styrofoam ball ornament - featuring fabric with cute Pandas. &nbsp;Gimp braid and ribbon bow trim. &nbsp;Pictures show all 4 sections of ornament along with top ribbon bow/hangar.</p>
149275 <p>Fabric over 3" styrofoam ball ornament - featuring fabric with ornaments on black design. &nbsp;Gimp braid and ribbon bow trim. &nbsp;Pictures show all 4 sections of ornament along with top ribbon bow/hangar.</p>
149277 <p>Fabric over 3" styrofoam ball ornament - featuring fabric with small glitter snowflakes on red. &nbsp;Gimp braid and ribbon bow trim. &nbsp;Pictures show all 4 sections of ornament along with top ribbon bow/hangar.</p>
149278 <p>Fabric over 3" styrofoam ball ornament - featuring fabric with large silver snowflakes on red. &nbsp;Gimp braid and ribbon bow trim. &nbsp;Pictures show all 4 sections of ornament along with top ribbon bow/hangar.</p>
171934 <p>Pie Ornament design tutorial – how to make these cute 3” size ornaments. </p> <p>Intermediate level as sculpting of foam is required. </p> <p>Step-By-Step instructions – lots of pictures. </p> <p>A complete list of supplies to make several versions. A very fun design! </p> <p>&nbsp; </p> <p>Two variations included -- lattice top or plain top that can be decorated with embellishments (templates and instructions for the embellishments are included in the PDF file). </p> <p>&nbsp; </p> <p>A pdf file will be immediately available to you after completing your purchase so you can start making your ornament any time you'd like. Important Information: This publication is for the use by the purchaser only. The tutorial/pattern is copyrighted – it is illegal to share/post/distribute by any means, online or offline. The instructions and photos in this tutorial may not be altered or reproduced for sale. Original purchaser may sell finished products made from this tutorial/pattern (in small quantities that are sold at craft fairs, bazaars, etc.) </p> <p></p>
173426 <p>Handmade ornament - Chinese Lantern style. Made from turquoise/white Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173429 <p>Handmade ornament - Chinese Lantern style. Made from red/gold Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173431 <p>Handmade ornament - Chinese Lantern style. Made from purple/white Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173432 <p>Handmade ornament - Chinese Lantern style. Made from hot pink/gold Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173436 <p>Handmade ornament - Chinese Lantern style. Made from mint green/white/pink Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173438 <p>Handmade ornament - Chinese Lantern style. Made from dark pink/white Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173441 <p>Handmade ornament - Chinese Lantern style. Made from green/white Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>
173443 <p>Handmade ornament - Chinese Lantern style. Made from gold/orange Chinese brocade fabric over 3" styrofoam ball. Accented with ribbon, cording, fringe/tassel trim. Length of ornament from top to bottom is 6-3/4".</p>