SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd5ee431d85e86c1cd0498751ca7b542759044e7dc3772e59019282f441acd46' 
  AND token = 'z5X63QQIR/zm+r3RAfL36YCpXcy1FqCLU3A8nVvqwe8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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