SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '505c5d658a911af0668ffb02f0b1c1e7866feb9fc953f280f498553d50bed6c6' 
  AND token = 'mVqc8FvWxbgRZlHUmGddXF9O4nrkZrS9SlHkQi2KYv0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

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