SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25ea8ad8651ec59d7477ae08cbe1403ad337b551a794d7dcfc3275d009a05c97' 
  AND token = 'qgNNVbB3WCTKriVFxpL9BbWw2AY36AirQUY1q+Avoo0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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