SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f4122f912f522fd4b89d72c3b74c0d9200398269d0bbe00ebcbc0dc1d898413' 
  AND token = 'p4JtHH/rL1WAeVZdZnjLJt53gDS78L6owhe0O+HFd7E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

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