Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.79"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cv",
"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": 2,
"rows_produced_per_join": 1,
"filtered": "67.15",
"index_condition": "(`cscart_db`.`cv`.`video_id` in (2036,2114))",
"cost_info": {
"read_cost": "1.28",
"eval_cost": "0.13",
"prefix_cost": "1.41",
"data_read_per_join": "2K"
},
"used_columns": [
"video_id",
"status",
"user_id",
"community_url",
"community_thumbnail",
"community_video_url"
],
"attached_condition": "(`cscart_db`.`cv`.`status` = 'A')"
}
},
{
"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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.34",
"eval_cost": "0.13",
"prefix_cost": "1.88",
"data_read_per_join": "5K"
},
"used_columns": [
"video_id",
"lang_code",
"youtube_id",
"video",
"description",
"short_description",
"like_count",
"comment_count"
]
}
},
{
"table": {
"table_name": "cu",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"user_id"
],
"key_length": "3",
"ref": [
"cscart_db.cv.user_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.32",
"eval_cost": "0.13",
"prefix_cost": "3.33",
"data_read_per_join": "9K"
},
"used_columns": [
"user_id",
"firstname"
],
"attached_condition": "<if>(is_not_null_compl(cu), (`cscart_db`.`cu`.`user_id` = `cscart_db`.`cv`.`user_id`), true)"
}
},
{
"table": {
"table_name": "mum",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"user_id"
],
"key_length": "3",
"ref": [
"cscart_db.cv.user_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.33",
"eval_cost": "0.13",
"prefix_cost": "4.80",
"data_read_per_join": "25K"
},
"used_columns": [
"user_id",
"avatar"
],
"attached_condition": "<if>(is_not_null_compl(mum), (`cscart_db`.`cv`.`user_id` = `cscart_db`.`mum`.`user_id`), true)"
}
}
]
}
}
}
}
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 |
| 2036 |
Cult fave- Cosrx for the win! |
<p>COSRX is a Korean skincare brand known for its effective, science-backed formulations. Focused on addressing common skin concerns like acne, dryness, and sensitivity, COSRX combines simple yet potent ingredients for maximum results!</p> |
|
2 |
0 |
|
A |
229317 |
https://www.kindlife.in/images/video_library/2036_Cosrx_preview.jpg |
https://www.kindlife.in/images/video_library/2036_Cosrx.mp4 |
https://admin.kindlife.in/cult-fave-cosrx-for-the-win |
Ritika Bansal |
https://cdn.kindlife.in/images/kl_album/229317/2024/07/04/6686580c535ea.jpg |
| 2114 |
COSRX Ultimate Nourishing Rice Overnight Face Mask 60ml |
|
|
2 |
0 |
|
A |
21551 |
https://www.kindlife.in/images/video_library/2114_SnapInsta.to_AQMW4y1mnKcLvOxRi6M2ZxJuDX_pC-Vp58U47sUGCZ00Itf98ycjD-9zmHKdru37_9hp27OSfvS841DNOy0fYgz5yRSEWSdaSRBJs14_preview.jpg |
https://www.kindlife.in/images/video_library/2114_SnapInsta.to_AQMW4y1mnKcLvOxRi6M2ZxJuDX_pC-Vp58U47sUGCZ00Itf98ycjD-9zmHKdru37_9hp27OSfvS841DNOy0fYgz5yRSEWSdaSRBJs14.mp4 |
https://www.kindlife.in/cosrx-ultimate-nourishing-rice-overnight-face-mask-60ml-en-2 |
kindlife |
https://cdn.kindlife.in/images/kl_album/21551/2025/08/21/68a709aba0a47php5imtsL.jpeg |