SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    5022, 5006, 3927, 4781, 3335, 4961, 5009, 
    3336, 5208, 3954, 3509, 3934, 3961, 
    4006, 5467, 5554, 3958, 5013, 3933, 
    5370, 8789, 3484, 5566, 4824, 4989, 
    5377, 3477, 4821, 5369, 4660, 5188, 
    5567, 4238, 3468, 4005, 4010, 5477, 
    4292, 5866, 5374
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00086

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.35"
    },
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ref",
      "possible_keys": [
        "status",
        "product_id"
      ],
      "key": "status",
      "used_key_parts": [
        "status"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 1,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.25",
        "eval_cost": "0.10",
        "prefix_cost": "0.35",
        "data_read_per_join": "96"
      },
      "used_columns": [
        "video_id",
        "product_id",
        "status",
        "storefront_id"
      ],
      "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`product_id` in (5022,5006,3927,4781,3335,4961,5009,3336,5208,3954,3509,3934,3961,4006,5467,5554,3958,5013,3933,5370,8789,3484,5566,4824,4989,5377,3477,4821,5369,4660,5188,5567,4238,3468,4005,4010,5477,4292,5866,5374)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}