SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af905108faba72338af7447c984c3c58c911857e81c0413d5defa3be42daef89' 
  AND token = 'KiC49ejjCjlcM46q3LVW+OL6uRL0UAX03Rscawe9LNY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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