SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description, 
  cscart_product_descriptions.unit_name 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (299, 298, 297, 296) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00115

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.81"
    },
    "table": {
      "table_name": "cscart_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": 4,
      "rows_produced_per_join": 4,
      "filtered": "100.00",
      "index_condition": "((`wearethehelpful_scalesta_net`.`cscart_product_descriptions`.`product_id` in (299,298,297,296)) and (`wearethehelpful_scalesta_net`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "2.41",
        "eval_cost": "0.40",
        "prefix_cost": "2.81",
        "data_read_per_join": "18K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
296 <p>Scent notes:&nbsp; Lavender, Ylang Ylang</p> <p>Welcome to Dreamland</p> <p>Dreamland is the perfect incense to end the day and create a &nbsp;"wind down&nbsp;mood”.&nbsp;&nbsp;</p> <p>Dreamland incense is made with the blend of two essential oils - the calming and soothing scent of lavender (known for its sleep-promoting and calming properties) and Ylang Ylang.</p> <p>This is Incense is made with Australian Blended Essential oils, and is a beautiful gift for someone needing a gentle habit in their life and a little luxurious calm.&nbsp; Also a great little gift for yourself! </p> <p>Gentle Habits Incense is:</p> <p>• Hand dipped and packed in Victoria, Australia</p> <p>• Unique in scent and emotive to that place or ritual that Gentle Habits Founder, Sophie has developed. • Long lasting, yet not overpowering • Dipped in fragrance of essential oils and fragrance blends (phthalates free) • 60 sticks - approx 30 hours</p> <p><br></p>
297 <p>Scent notes:&nbsp; Sea salt, Grapefruit, Cardamon</p> <p>“Bondi - or Boondi, meaning Surf”</p> <p>"Bondi," originally "Boondi" is an Aboriginal word which has the same meaning as the word "surf". Noise made by sea waves breaking on the beach...</p> <p><span class="s1" data-mce-fragment="1">So as you might have guessed, this scent has a strong ocean influence. The Bondi Beach incense is delicate with unexpected with top notes of Grapefruit, middle sweet notes of Cardamom then grounded with Cedarwood.</span></p> <p><span class="s1"></span></p> <p>This is Incense is made with Australian Blended Essential oils, and is a beautiful gift for someone needing a gentle habit in their life and a little luxurious calm.&nbsp; Also a great little gift for yourself! </p> <p>Gentle Habits Incense is:</p> <p>• Hand dipped and packed in Victoria, Australia</p> <p>• Unique in scent and emotive to that place or ritual that Gentle Habits Founder, Sophie has developed. • Long lasting, yet not overpowering • Dipped in fragrance of essential oils and fragrance blends (phthalates free) • 60 sticks - approx 30 hours</p> <p></p> <p></p>
298 <p>Scent Notes:&nbsp; Leather, Fankincense, Black Pepper</p> <p><em>“Dark and Stormy” - a best seller.</em></p> <p>Sultry with a strong masculine tone of leather and Frankincense. This scent will take&nbsp;you to the roaring coast in Tasmania with a scotch in hand.</p> <p>This is Incense is made with Australian Blended Essential oils, and is a beautiful gift for someone needing a gentle habit in their life and a little luxurious calm.&nbsp; Also a great little gift for yourself! </p> <p>Gentle Habits Incense is:</p> <p>• Hand dipped and packed in Victoria, Australia</p> <p>• Unique in scent and emotive to that place or ritual that Gentle Habits Founder, Sophie has developed. • Long lasting, yet not overpowering • Dipped in fragrance of essential oils and fragrance blends (phthalates free) • 60 sticks - approx 30 hours</p> <p></p>
299 <p>Scent Notes: Cedarwood, Vetiver, Patchouli</p> <p>**Founder Favourite**</p> <p>“Slice of Paradise” - a place we call home. Delicate and earthy with a hint of cedarwood. This scent will forever be in their (or your!) rotation and checklist of things to do to feel great.</p> <p>This is Incense is made with Australian Blended Essential oils, and is a beautiful gift for someone needing a gentle habit in their life and a little luxurious calm.&nbsp; Also a great little gift for yourself! </p> <p>Gentle Habits Incense is:</p> <p>• Hand dipped and packed in Victoria, Australia</p> <p>• Unique in scent and emotive to that place or ritual that Gentle Habits Founder, Sophie has developed. • Long lasting, yet not overpowering • Dipped in fragrance of essential oils and fragrance blends (phthalates free) • 60 sticks - approx 30 hours</p>