SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    8562, 8563, 8564, 8565, 8619, 8621, 8622, 
    8623, 8624, 8625, 8918, 8919, 8920, 
    8627, 8631, 8632, 8633, 8692, 8655, 
    8656, 8657, 8658, 8659, 8660, 8663, 
    8664, 8665, 8666, 8667, 8668, 8935, 
    8683, 8684, 8568, 8685, 8560, 8686, 
    8689, 8690, 8691, 8731, 8733, 8732, 
    8734, 8735, 8736, 8739, 8740, 8760, 
    8763, 8764, 8765, 8766, 8776, 8777, 
    8779, 8780, 8781, 8782, 8787, 8788, 
    8815, 8816, 8838, 8840, 8910, 8911, 
    8916, 8917, 8748, 8927, 8737, 8929, 
    8930, 8601, 8931, 8932, 8933, 8934, 
    8936, 8937, 8939, 8940, 8941, 8943
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00186

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 (8562,8563,8564,8565,8619,8621,8622,8623,8624,8625,8918,8919,8920,8627,8631,8632,8633,8692,8655,8656,8657,8658,8659,8660,8663,8664,8665,8666,8667,8668,8935,8683,8684,8568,8685,8560,8686,8689,8690,8691,8731,8733,8732,8734,8735,8736,8739,8740,8760,8763,8764,8765,8766,8776,8777,8779,8780,8781,8782,8787,8788,8815,8816,8838,8840,8910,8911,8916,8917,8748,8927,8737,8929,8930,8601,8931,8932,8933,8934,8936,8937,8939,8940,8941,8943)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}