SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e94c3fdc9a4dd30893321205eb4f761f96b855e0897d2a79ec9343df813fbe1' 
  AND token = '+6OdV3McCIvYpe96ge2hEkHl/PeLgJQ7lwJQJ7Rx2QQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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