SELECT 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  company_id = 273 
  AND category_id = 295

Query time 0.00012

JSON explain

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