SELECT 
  * 
FROM 
  cscart_cp_sr_product_allows 
WHERE 
  product_id = 280 
  AND company_id = 1

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}