SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1871b98537bbb2d6668397e286d73f1d45359a38032e4967ce3397de772bd448' 
  AND token = 'R5KOK1tAWV/fLDJyoqm4YLofnuxoSNXXdejNHslrvMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00076

JSON explain

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