SELECT 
  cv.video_id, 
  cvd.video, 
  cvd.description, 
  cvd.short_description, 
  cvd.like_count, 
  cvd.comment_count, 
  cvd.youtube_id, 
  cv.status, 
  cv.user_id, 
  cv.community_thumbnail, 
  cv.community_video_url, 
  cv.community_url, 
  cu.firstname, 
  CASE WHEN MAX(mum.avatar) IS NOT NULL 
  AND MAX(mum.avatar) != '' THEN CONCAT(
    'https://cdn.kindlife.in/', 
    MAX(mum.avatar)
  ) ELSE 'https://cdn.kindlife.in/images/ui_icon/user-default.svg' END AS userAvatar 
FROM 
  cscart_cp_videos cv 
  LEFT JOIN cscart_cp_video_descriptions cvd ON cvd.video_id = cv.video_id 
  AND cvd.lang_code = 'en' 
  LEFT JOIN cscart_users cu ON cu.user_id = cv.user_id 
  LEFT JOIN kl_user_pref_master mum ON cv.user_id = mum.user_id 
WHERE 
  1 
  AND cv.user_id = 21551 
  AND cv.status = 'A' 
GROUP BY 
  cv.video_id, 
  cvd.video, 
  cvd.description, 
  cvd.short_description, 
  cvd.like_count, 
  cvd.comment_count, 
  cv.status, 
  cv.user_id, 
  cv.community_thumbnail, 
  cv.community_video_url, 
  cu.firstname 
ORDER BY 
  cv.timestamp DESC 
LIMIT 
  340, 10

Query time 0.00787

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "338.37"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "cv",
              "access_type": "ref",
              "possible_keys": [
                "status_idx",
                "user_id_idx",
                "idx_cp_videos_status_userid_videoid",
                "idx_status_timestamp"
              ],
              "key": "idx_cp_videos_status_userid_videoid",
              "used_key_parts": [
                "status",
                "user_id"
              ],
              "key_length": "7",
              "ref": [
                "const",
                "const"
              ],
              "rows_examined_per_scan": 457,
              "rows_produced_per_join": 457,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "39.35",
                "eval_cost": "45.70",
                "prefix_cost": "85.05",
                "data_read_per_join": "714K"
              },
              "used_columns": [
                "video_id",
                "timestamp",
                "status",
                "user_id",
                "community_url",
                "community_thumbnail",
                "community_video_url"
              ]
            }
          },
          {
            "table": {
              "table_name": "cvd",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "video_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "cscart_db.cv.video_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 457,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "114.25",
                "eval_cost": "45.70",
                "prefix_cost": "245.00",
                "data_read_per_join": "1M"
              },
              "used_columns": [
                "video_id",
                "lang_code",
                "youtube_id",
                "video",
                "description",
                "short_description",
                "like_count",
                "comment_count"
              ]
            }
          },
          {
            "table": {
              "table_name": "cu",
              "access_type": "const",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "user_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 457,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.98",
                "eval_cost": "45.70",
                "prefix_cost": "291.68",
                "data_read_per_join": "3M"
              },
              "used_columns": [
                "user_id",
                "firstname"
              ]
            }
          },
          {
            "table": {
              "table_name": "mum",
              "access_type": "const",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "user_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 457,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.99",
                "eval_cost": "45.70",
                "prefix_cost": "338.37",
                "data_read_per_join": "8M"
              },
              "used_columns": [
                "user_id",
                "avatar"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

video_id video description short_description like_count comment_count youtube_id status user_id community_thumbnail community_video_url community_url firstname userAvatar
1945 Experience the k-magic with kosmos Who needs 'em flight tickets when Seoul's pulling up right here at Saket???? Think: 30+ beauty brands, K-pop vibes, live shows, and major influencer energy. Don't miss out, kosmos is THE place to be!? ? 7th & 8th December ?DLF Avenue, Saket, New Delhi ? Grab your tickets now Get ready for the K-experience of a lifetime! 1 0 A 21551 https://www.kindlife.in/images/video_library/1945_kindlife-kosmos_preview.jpg https://www.kindlife.in/images/video_library/1945_kindlife-kosmos.mp4 https://www.kindlife.in/experience-the-k-magic-with-kosmos-en kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1934 Rekha 8 1 A 21551 https://www.kindlife.in/images/video_library/1934_d55cec6fee3bfd90cf7ff870fd522755_preview.jpg https://www.kindlife.in/images/video_library/1934_d55cec6fee3bfd90cf7ff870fd522755.mp4 https://www.kindlife.in/rekha kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1926 It’s glow times, besties??✨ Save 35% on the @cosrx 6 Peptide Skin Booster Serum - the holy grail for all your skincare needs!☺️ ?BOOSTS HYDRATION: +162.5% moisture for that plump, dewy glow ?SOOTHES SENSITIVITY: Calms and nourishes sensitive skin, reduces redness ⬆️ MAXIMIZES EFFICACY: Makes your other skincare products work even better Shop now from @kindlife.in and get your glass skin glow on!?️✨ Use the code - COSRXLUV for an extra 15% on your COSRX faves? 8 0 A 21551 https://www.kindlife.in/images/video_library/1926_664C65B35B7C60D2D14F297EE03E4989_video_dashinit_preview.jpg https://www.kindlife.in/images/video_library/1926_664C65B35B7C60D2D14F297EE03E4989_video_dashinit.mp4 https://www.kindlife.in/its-glow-times-besties kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1925 Wake up to Good Mornings with @cosrx’s Low pH Gel Cleanser? Ditch ‘em harsh cleansers that leave your skin skin feeling dry and stripped and say hello to this COSRX must-have which does so much more than just cleansing. ? Exfoliates gently without scrubbing ?Hydrating formula that leaves your skin feeling supple ☺️ Soothes sensitive skin ? Maintains skin’s natural pH balance 4 0 A 21551 https://www.kindlife.in/images/video_library/1925_8F4F55B4EB7845C6F9EC6DD586ADCC99_video_dashinit_preview.jpg https://www.kindlife.in/images/video_library/1925_8F4F55B4EB7845C6F9EC6DD586ADCC99_video_dashinit.mp4 https://www.kindlife.in/wake-up-to-good-mornings-with-cosrxs-low-ph-gel-cleanser kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1924 Snail your way to that glass skin glow!?✨ Snail your way to that glass skin glow!?✨ @cosrx’s Advanced Snail 92 All-In-One Cream just slid its way into my skincare routine and there’s not going back!☺️?? Perfect hydration boost for dry, sensitive or tired skin that needs a pick-me-up???? 4 1 A 21551 https://www.kindlife.in/images/video_library/1924_8A48762C734812DC8FB601F26F2852B6_video_dashinit_preview.jpg https://www.kindlife.in/images/video_library/1924_8A48762C734812DC8FB601F26F2852B6_video_dashinit.mp4 https://www.kindlife.in/snail-your-way-to-that-glass-skin-glow kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1923 Glow like never before with VT Cosmetics' MICRO-NEEDLING IN A BOTTLE!???✨ 100 Reasons to Glow! ?✨ Unlock your flawless skin with VT Cosmetics' 100 Reedle Shot—your secret to radiant, rejuvenated skin! ? ? Skin soothing ingredients - propolis extract & cica to calm and heal sensitive skin ☺️ Restores skin barrier - revitalizes and restores your skin’s natural glow Say hello to healthy, radiant, glowing skin!??‍♀️ 8 0 A 21551 https://www.kindlife.in/images/video_library/1923_3F47276457F17629C703DCD62B4231BA_video_dashinit_preview.jpg https://www.kindlife.in/images/video_library/1923_3F47276457F17629C703DCD62B4231BA_video_dashinit.mp4 https://www.kindlife.in/glow-like-never-before-with-vt-cosmetics-micro-needling-in-a-bottle kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1920 Got sensitive skin like me?☺️ Trust me, these skincare must-haves from @kindlife.in will have your skin glowing and you swooning over @cosrx in no time!?? ? AHA BHA Clarifying Toner – gently exfoliates and clears away dead skin cells without irritation, leaving your skin refreshed and smooth ? Advanced Snail Radiance Dual Essence – this hydrating powerhouse delivers intense moisture while soothing and strengthening your skin barrier ? Balancium Comfort Ceramide Cream – perfect for locking in hydration and repairing your skin, it keeps your sensitive skin calm, plump, and nourished all day long Comment COSRX to get these product links in your DMs. ? Shop now from @kindlife.in and get your glass skin glow on!?️✨ 7 0 A 21551 https://www.kindlife.in/images/video_library/1920_AD4D106F9EDE50094662601FBA7B518B_video_dashinit (1)_preview.jpg https://www.kindlife.in/images/video_library/1920_AD4D106F9EDE50094662601FBA7B518B_video_dashinit (1).mp4 https://www.kindlife.in/got-sensitive-skin-like-me-trust-me-these-skincare-must-haves-from-kindlife.in-will-have-your-skin-glowing-and-you-swooning-over-cosrx-in-no-time kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1919 ✨Rice and Shine with these dry skin saviours!✨ @imfrom_global ’s RICE TONER ? Intense Hydration ? Strengthens Skin Barrier @beautyofjoseon_official’s RELIEF SUN ☀️ SPF 50+ PA++++ Protection ☺️ Lightweight, Non-Sticky Finish Save 15% on kindlife and say hello to glowing skin!? 12 0 A 21551 https://www.kindlife.in/images/video_library/1919_44459963B704F0CA2F86D5074C7F6199_video_dashinit_preview.jpg https://www.kindlife.in/images/video_library/1919_44459963B704F0CA2F86D5074C7F6199_video_dashinit.mp4 https://www.kindlife.in/rice-and-shine-with-these-dry-skin-saviours kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1916 It’s the texxxshhhureeee for us??? Don’t just walk, run to @kindlife.in to get your hands on these K-beauty faves and use the code SARCASTICKL for an extra 10% off!?️✨ 8 2 A 21551 https://www.kindlife.in/images/video_library/1916_E7433A15DF504059DB2E5726D3B5FD83_video_dashinit (1)_preview.jpg https://www.kindlife.in/images/video_library/1916_E7433A15DF504059DB2E5726D3B5FD83_video_dashinit (1).mp4 https://www.kindlife.in/its-the-texxxshhhureeee-for-us kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg
1914 ✨NEW LAUNCH ALERT✨ Introducing ONGREDIENTS, the best of Korean beauty packed with nourishing ingredients, it’s designed to restore balance and keep your skin feeling soft, protected and glowing!☺️ ? Centella Asiatica Skin Barrier Calming Lotion ? Centella Asiatica 95% Face Mask Sheet 2 0 A 21551 https://www.kindlife.in/images/video_library/1914_An-z6LFY4oFu71OOUe5_NmJS5rMh3JJs0cRNWQvOFcloE4v3d8sUkjg1VcLQgpHxFg9raRj1gwhI0vTron2PJeom_preview.jpg https://www.kindlife.in/images/video_library/1914_An-z6LFY4oFu71OOUe5_NmJS5rMh3JJs0cRNWQvOFcloE4v3d8sUkjg1VcLQgpHxFg9raRj1gwhI0vTron2PJeom.mp4 https://www.kindlife.in/new-launch-alert kindlife https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg