SELECT 
  plan_id 
FROM 
  cscart_companies 
WHERE 
  company_id = 3

Query time 0.00013

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_companies const PRIMARY PRIMARY 4 const 1

Result

plan_id
4