SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3497ba67258765510528503b8300cf7d6ef5a7ef0efdb327a8329dc455cb1af' 
  AND token = 'lg7m3swOEj6x9JmdkPZRsZHujTcT9t+mXcud8PTJzO0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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