SELECT 
  SQL_CALC_FOUND_ROWS cscart_cp_videos.*, 
  cscart_cp_video_descriptions.*, 
  cscart_cp_video_category_links.* 
FROM 
  cscart_cp_videos 
  LEFT JOIN cscart_cp_video_descriptions ON cscart_cp_videos.video_id = cscart_cp_video_descriptions.video_id 
  AND cscart_cp_video_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_cp_video_category_links ON cscart_cp_videos.video_id = cscart_cp_video_category_links.video_id 
WHERE 
  1 
  AND cscart_cp_videos.video_id IN (316, 317, 375, 972) 
  AND cscart_cp_videos.status = 'A' 
ORDER BY 
  cscart_cp_videos.timestamp desc

Query time 0.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.72"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "2.30"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_cp_videos",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "status_idx",
              "video_id_idx",
              "idx_cp_videos_status_userid_videoid",
              "idx_status_timestamp"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "video_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 4,
            "rows_produced_per_join": 2,
            "filtered": "57.48",
            "index_condition": "(`cscart_db`.`cscart_cp_videos`.`video_id` in (316,317,375,972))",
            "cost_info": {
              "read_cost": "2.58",
              "eval_cost": "0.23",
              "prefix_cost": "2.81",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "video_id",
              "video_type",
              "company_id",
              "usergroup_ids",
              "position",
              "timestamp",
              "status",
              "user_id",
              "extra_params",
              "community_video_id",
              "community_url",
              "community_thumbnail",
              "community_video_url",
              "community_last_sync_timestamp"
            ],
            "attached_condition": "(`cscart_db`.`cscart_cp_videos`.`status` = 'A')"
          }
        },
        {
          "table": {
            "table_name": "cscart_cp_video_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "video_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "cscart_db.cscart_cp_videos.video_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 2,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.57",
              "eval_cost": "0.23",
              "prefix_cost": "3.61",
              "data_read_per_join": "9K"
            },
            "used_columns": [
              "video_id",
              "lang_code",
              "youtube_id",
              "video",
              "description",
              "short_description",
              "privacy",
              "like_count",
              "dislike_count",
              "comment_count",
              "meta_keywords",
              "meta_description",
              "page_title",
              "tagged_brands"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_cp_video_category_links",
            "access_type": "ref",
            "possible_keys": [
              "pt"
            ],
            "key": "pt",
            "used_key_parts": [
              "video_id"
            ],
            "key_length": "3",
            "ref": [
              "cscart_db.cscart_cp_videos.video_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 2,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.57",
              "eval_cost": "0.23",
              "prefix_cost": "4.42",
              "data_read_per_join": "36"
            },
            "used_columns": [
              "video_id",
              "category_id",
              "link_type",
              "position"
            ]
          }
        }
      ]
    }
  }
}

Result

video_id video_type company_id usergroup_ids position timestamp status user_id extra_params community_video_id community_url community_thumbnail community_video_url community_last_sync_timestamp lang_code youtube_id video description short_description privacy like_count dislike_count comment_count meta_keywords meta_description page_title tagged_brands category_id link_type
317 C 13 0 0 1681669800 A 63828 506 https://admin.kindlife.in/benefits-of-retinol https://cdn.kindlife.in/images/videos/thumb/506/182af3d777331e4af8e29971e2f83f02.jpg https://cdn.kindlife.in/images/videos/thumb/506/a12fd143d4ebbc17aa1fc7f0cba8090c.mp4 1713161642 en Retinol: Your Skin's Secret Weapon <p>Curious about the magic of retinol? ? Dive into radiant skin with our top picks: the Retinol & Peptide Serum with 0.2% Retinol + 1% Peptide, our 0.3% Retinol Face Serum, and the Anti-Aging Serum with 1% Encapsulated Retinol. Ready to glow like never before? Connect with us and let’s tailor your perfect retinol routine to reveal your best skin yet!</p> 1 0 0 0 7 M
375 C 13 0 0 1681669800 A 63828 445 https://admin.kindlife.in/when-can-you-start-using-retinol https://cdn.kindlife.in/images/videos/thumb/445/30acc547591f91fbbea804e8a1c57ea7.jpg https://cdn.kindlife.in/images/videos/thumb/445/6870c5a7a74e5b09f5afc3e755f2743f.mp4 1713161425 en When can you start using Retinol? <div>Retinol is often called a miracle product and has so many myths. &nbsp;Many people find it extremely confusing to understand when to start incorporating retinol into their routine!&nbsp;</div> <div>&nbsp;</div> <div>Like always we have your back and we&rsquo;ve decoded it for you!&nbsp;</div> <div><br />Retinol recommendations from kindlife<br /><br />1) <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="@re"><a id="product_7782" class="pTagD" href="https://www.kindlife.in/index.php?dispatch=products.view&amp;product_id=7782" data-value="7782">0.3% Retinol Face serum - 30ml</a></span> from <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="#minim"><a id="brandDesc_23702" class="bTagD" href="https://www.kindlife.in/index.php?dispatch=product_features.view&amp;variant_id=23702" data-value="23702">Minimalist</a></span>&nbsp;<br />2) <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="@pep"><a id="product_10504" class="pTagD" href="https://www.kindlife.in/index.php?dispatch=products.view&amp;product_id=10504" data-value="10504">Retinol &amp; Peptide Serum- 0.2% Retinol + 1% Peptide - 30ml</a></span> by <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="#dec"><a id="brandDesc_27366" class="bTagD" href="https://www.kindlife.in/index.php?dispatch=product_features.view&amp;variant_id=27366" data-value="27366">Deconstruct Skincare</a></span>&nbsp;<br />3) <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="@peptide"><a id="product_10200" class="pTagD" href="https://www.kindlife.in/index.php?dispatch=products.view&amp;product_id=10200" data-value="10200">Retinol &amp; Peptide Serum - 30 ml</a></span> by <span class="atwho-inserted" contenteditable="false" data-atwho-at-query="#neem"><a id="brandDesc_27094" class="bTagD" href="https://www.kindlife.in/index.php?dispatch=product_features.view&amp;variant_id=27094" data-value="27094">Neemli Naturals</a></span>&nbsp;<br /><br /></div> <div>Get in touch with us if you have more questions about how or when to incorporate retinol in your skin care routine and achieve the best results for yourself!</div> <div>&nbsp;</div> <div>&nbsp;</div> 1 1 0 0 7 M