SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e29289181bfe48855e46be8612548077e25cff76007ba03dcda785e03041e42c' 
  AND token = 'bCQ3hki5Q3hXOb3vx4QxqpYePECyR73wzDmCqp5+xO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}