SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '165ae739db1f27731180fead2862de0791a142d7d09b63802fcb4c78c12ef05c' 
  AND token = 'rf+zerU/akiIBEoeVGpyfa1FKfQO6Q5tmuA6lV4gbh0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

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