SELECT 
  company_ids 
FROM 
  cscart_ec_hb_vendor_favts 
WHERE 
  user_id = 0

Query time 0.00020

JSON explain

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