SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    51083, 
    22715, 
    51082, 
    51085, 
    51081, 
    51088, 
    51087, 
    22713, 
    51086, 
    51089, 
    51090, 
    51092, 
    51093, 
    22714, 
    51091, 
    51095, 
    51096, 
    51097, 
    51098, 
    51100, 
    51099, 
    22716, 
    51103, 
    22712, 
    51105, 
    51102, 
    51101, 
    51205, 
    51204, 
    51203, 
    51202, 
    125, 
    51209, 
    51208, 
    51207, 
    51206, 
    124, 
    111, 
    51212, 
    144, 
    51215, 
    51214, 
    51213, 
    51444, 
    51445, 
    51446, 
    51447, 
    51220, 
    51219, 
    51218, 
    51217, 
    51216, 
    146, 
    51448, 
    51449, 
    51221, 
    137, 
    51224, 
    51223, 
    51231, 
    51230, 
    51229, 
    51228, 
    51227, 
    51226, 
    51225, 
    109, 
    51232, 
    12, 
    51238, 
    51237, 
    51236, 
    51235, 
    51234, 
    51233, 
    51243, 
    51242, 
    51241, 
    51240, 
    51239, 
    36, 
    51246, 
    51245, 
    51244, 
    35, 
    51248, 
    51247, 
    51253, 
    51252, 
    51251, 
    51250, 
    51249, 
    34, 
    51256, 
    51255, 
    51254, 
    33, 
    32, 
    51265, 
    51264, 
    51263, 
    51262, 
    51261, 
    51260, 
    51259, 
    110, 
    51272, 
    51271, 
    51270, 
    51269, 
    51268, 
    51267, 
    51266, 
    145, 
    51273, 
    147, 
    51277, 
    51276, 
    51275, 
    51274, 
    51281, 
    51280, 
    51279, 
    51278, 
    51282, 
    7, 
    51289, 
    51288, 
    51287, 
    51286, 
    51285, 
    51284, 
    51283, 
    8, 
    51294, 
    51293, 
    51291, 
    51290, 
    94
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.05"
    },
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ALL",
      "possible_keys": [
        "status",
        "product_id"
      ],
      "rows_examined_per_scan": 28,
      "rows_produced_per_join": 5,
      "filtered": "20.00",
      "cost_info": {
        "read_cost": "2.49",
        "eval_cost": "0.56",
        "prefix_cost": "3.05",
        "data_read_per_join": "537"
      },
      "used_columns": [
        "video_id",
        "product_id",
        "status",
        "storefront_id"
      ],
      "attached_condition": "((`test_uchur_k`.`cscart_ab__video_gallery`.`product_id` in (51083,22715,51082,51085,51081,51088,51087,22713,51086,51089,51090,51092,51093,22714,51091,51095,51096,51097,51098,51100,51099,22716,51103,22712,51105,51102,51101,51205,51204,51203,51202,125,51209,51208,51207,51206,124,111,51212,144,51215,51214,51213,51444,51445,51446,51447,51220,51219,51218,51217,51216,146,51448,51449,51221,137,51224,51223,51231,51230,51229,51228,51227,51226,51225,109,51232,12,51238,51237,51236,51235,51234,51233,51243,51242,51241,51240,51239,36,51246,51245,51244,35,51248,51247,51253,51252,51251,51250,51249,34,51256,51255,51254,33,32,51265,51264,51263,51262,51261,51260,51259,110,51272,51271,51270,51269,51268,51267,51266,145,51273,147,51277,51276,51275,51274,51281,51280,51279,51278,51282,7,51289,51288,51287,51286,51285,51284,51283,8,51294,51293,51291,51290,94)) and (`test_uchur_k`.`cscart_ab__video_gallery`.`status` = 'A') and (`test_uchur_k`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}

Result

video_id product_id
7 22713
15 125