SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af760eba9e2eee43d5b21dbcee9da5a49e0c5a1ca67a7cd2d4efbc3c363337b5' 
  AND token = 'vriPICgCXRwciiaWAa++LBzlkaPttdzU/NLcubaDyTc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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