SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1cae786162482fe184149242a096c7b48a705e518a913075df4ce31d9df2d969' 
  AND token = 'L4gw50fMJe139urwtn16hgJWkr0ucQsMN9wRvDXtCMM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE Impossible WHERE noticed after reading const tables