SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af58f97b7ae5493cec88b99e12656034779d1920f02bda270b5fbbb198deee37' 
  AND token = 'e+FgJWc4WeB5nNEONnIZmESgobYZfnKcA9MD+epxB9k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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