SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34785f68015f8157f916c09d27a66b50888f19ef22a2373027ca5d96ab24416a' 
  AND token = 'xvoNjTrkPY5MVko572P1Lzh8GANJB0KV1YYcWgNUg7U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

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