SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '338862a6afb790d09ede97ab6496f33391b3c130ffc448d672a8ee94a76055cc' 
  AND token = '3UN55Bn67JnqJ3xJWAXCu3tnUXEBApsvbi873xx3iP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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