SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '102354a332aaaf03831da3c42d58ff46ac4493f708f3b92d20efa40244bc0c31' 
  AND token = 'Lmwtfrv6d3yyZlbkZqn5cCEQtF71c8iubec/fJYLSkk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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